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:
The user go to the URL:/htdocs/data/uploads/image.jpg
The following script is started to generate the HTML:
The script generates images tags like:/htdocs/scripts/show_gallery.php
How should I know what to insert there? I'm really confused about that.Code:<img src=" INSERT IMAGE HERE " />
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