Re: Root versus Folder Level Confusion
Posted by:
Hootie
(---.abhsia.telus.net)
Date: December 27, 2007 05:44PM
Hi,
Thanks toivo for your quick and thoughtful repsonse. I changing the data in MySQL from the form "/images/pic1039.jpg" to "images/pic1039.jpg" and it solved the issue. I think the first slash indicated to look relative to the Apache document root www, whereas without the slash it looks relative to the website folder. Works fine now and it is not a WAMP issue.
By the way, I am using <?php tags and am using PHP4 in WAMP and on the production servers. When I switch to PHP5 in WAMP the site doesnt work, but that will be another hill to climb on another day, unless you think of something obvious for me to look for. Here is a snippet.
<img src="<?php echo $row_RS_Cat['Image']; ?>" alt="" name="" width="320" height="60">
(This isnt a WAMP issue so I'll understand if no reply.)
Anyway, thanks very much. I have to say, being able to easily switch between versions of Apache, PHP and MySQL for multiple development sites is really really helpful. Thanks to Romain Bourdon.
Regards,
Hootie
Sherwood Park, Canada