You wrote a php script, but it doesn't work because it cannot find the correct path to a file the script is trying to access?
Jim H
Yep, newbie with another dumb question, but because what I put in doesn't work.
If a php script needs the absolute path and the file is in the web root(/home/httpd/html/posts.txt),
what is the absolute path to this file. I've tried this and it doesn't seem to work.
Pat
You wrote a php script, but it doesn't work because it cannot find the correct path to a file the script is trying to access?
Jim H
i think the path will be either /home/httpd/html/foo.txt
or http://localhost/foo.txt
whatdoyougetwhenyoumultiplysixbynine??
The script in question Jim is a free download, which in one of it's files askes for the path. From the example given in the script it must be http://localhost/posts.txt.
Bookmarks