RE: [PHP] images not displaying
| From: | Rick Emery | Date: | Tue, 02 Apr 2002 22:48:43 +0000 |
| Subject: | RE: [PHP] images not displaying | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-91229@lists.php.net to get a copy of this message | ||
examine the generated HTML with View Source in your browser. Does it
contain what you expect?
-----Original Message-----
From: Carl [mailto:cschmidt@latitude360.com]
Sent: Tuesday, April 02, 2002 4:45 PM
To: php-general@lists.php.net
Subject: [PHP] images not displaying
the images folder is in ..../website/testingArea/images
the php page is located in ..../website/testingArea/administration/image.php
I have confirmed that the file I want to display does exist in the images
folder, and that the path is correct.
If I include a tag in images.php like so:
<IMG SRC="/home<? echo $DOCUMENT_ROOT . SITE_LOCATION
?>/images/TopNavBar_01.jpg" WIDTH=93 HEIGHT=110>
Where SITE_LOCATION=testingArea/
The image will not display. I have tried with and without the /home at the
beginning and neither one works. What's going on ?
Carl
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php