Page 1 of 1

file_get_contents

Posted: Thu Sep 03, 2009 3:16 am
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

Re: file_get_contents

Posted: Thu Sep 03, 2009 6:00 am
by aneuryzma
it was the wrong path (absolute /relative)
solved thanks