[thelist] PHP, include() and relative links
Peter Van Dijck
peter at vardus.com
Fri May 25 12:15:47 CDT 2001
>Please could someone show me the error of my ways.
include works from your server root, not from your domain name root.
So you probably have to do someting like
include ("/www/htdocs/stuff/image.txt");
instead of
include ("/stuff/image.txt");
the path (/www/htdocs/) depends on your provider.
Peter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://liga1.com building multiple language/culture websites
http://poorbuthappy.editthispage.com online ethnology, up&down
More information about the thelist
mailing list