On Thursday 18 November 2004 19:45, Peter Lauri wrote: Please do not top post. > But if I am working on a webserver it would try to find it in the root of > my webserver, or am I wrong? > > For example I use that notation with an image: > I use this: <img src='/image/theimage.gif'> That is your 'webroot'. > Is this not the case for the PHP-scripting? No, $_SERVER['DOCUMENT_ROOT'] is what you need to prepend in front directories. BTW using relative paths for include should work. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Television -- the longest amateur night in history. -- Robert Carson */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php