URL in php script
am 21.11.2007 01:47:34 von FloorHow can I open an URL in a phpscipt?
Floor
How can I open an URL in a phpscipt?
Floor
On Nov 20, 4:47 pm, "Floor"
>
> How can I open an URL in a phpscipt?
$data = file_get_contents('http://www.myURL.com/');
However, this must be allowed by your system's configuration (the
allow_url_fopen directive in php.ini must be set to On).
Cheers,
NC
NC:
> $data = file_get_contents('http://www.myURL.com/');
>
> However, this must be allowed by your system's configuration (the
> allow_url_fopen directive in php.ini must be set to On).
Thanks, I ran that. But is doesn't work. I want to link to a script that
displays a random page.
I added a 'echo data$;' but that didn't work unfortunately...
Floor