|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
How can I open an URL in a phpscipt?
Floor |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Nov 20, 4:47 pm, "Floor" <Fl...@yahooh.co.not> wrote:
> > 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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|