Hey guys,
I've put pascal on the fridge for a moment. Now I'm doing a webdevelopment project, and I'm stuck. I know some of you have done webdev, so I thought I should ask this here.
I've got a webserver with some images on it. Also there is some PHP/Ajax going on to make it more complicated. Let's say my image is stored in:
/htdocs/data/uploads/image.jpg
The user go to the URL:
The following script is started to generate the HTML:
/htdocs/scripts/show_gallery.php
The script generates images tags like:
Code:
<img src=" INSERT IMAGE HERE " />
How should I know what to insert there? I'm really confused about that.
Can someone give me a general explanation of how I should deal with absolute and relative paths on servers and in URL's because I'm really lost. A link to a good article is also highly appreciated.
Thanks!
Bookmarks