get_file_content
Posted: Thu Dec 23, 2010 4:36 am
Hi,
I'm new to PHP and i'm trying to use the function "get_file_content" without luck
I'm using it like:
I get a blank output page. and strlen is returning 0.
What can be the problem?
Thanks,
Itzik
I'm new to PHP and i'm trying to use the function "get_file_content" without luck
I'm using it like:
Code: Select all
$file = file_get_contents('http://www.example.com/');
echo strlen($file);
What can be the problem?
Thanks,
Itzik