Re: $server_path
| From: | Bogdan Stancescu | Date: | Mon, 22 Apr 2002 01:27:50 +0000 |
| Subject: | Re: $server_path | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93928@lists.php.net to get a copy of this message | ||
Well, you should first ask yourself if the SRC value is correct - and apparently it isn't, if that's indeed it. You should make sure you get $server_path parsed by PHP. OTOH, why $server_path? HTML uses "/" as the "document root", you don't need that. IOW, you should remove $server_path altogether and see if it works - it should.
HTH
Bogdan
Jule Slootbeek wrote:
Hey guys, i'm trying to write a script that gets a path for a pic from mysql and then shows the picture. so i added the data in teh database like so $server_path/pics/pic001.jpg and then when i get the final oputput the HTML says: <img src=$server_path/pics/pic001.jpg> and it won't show the picture, is this because i'm using Mozilla 0.9.9 or is it from something else? Jule