file_get_contents

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
aneuryzma
Forum Contributor
Posts: 106
Joined: Sat May 17, 2008 7:03 am

file_get_contents

Post by aneuryzma »

hi,

Code: Select all

$contact = file_get_contents('../../images/stories/contact.txt');
 
doesn't work.

What's the possible reason ? Permissions ? Server limitations ?

thanks
aneuryzma
Forum Contributor
Posts: 106
Joined: Sat May 17, 2008 7:03 am

Re: file_get_contents

Post by aneuryzma »

it was the wrong path (absolute /relative)
solved thanks
Post Reply