fopen accesing directory (Very sily question)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Perfidus
Forum Contributor
Posts: 114
Joined: Sun Nov 02, 2003 9:54 pm

fopen accesing directory (Very sily question)

Post 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?
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

Code: Select all

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