Page 1 of 1

fopen accesing directory (Very sily question)

Posted: Fri Jul 01, 2005 6:01 am
by Perfidus
Hi everyone!

I have recently changed my hosting and I'm suffering some secondary effects.
How do you normally acces a txt inside a directory to fopen?

Posted: Fri Jul 01, 2005 6:04 am
by shiznatix

Code: Select all

$handle = fopen("/folder/folder/file.txt", "r");
http://ee.php.net/manual/en/function.fopen.php