Re: URL in php script



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


.



Relevant Pages

  • Re: when is the hosts name not localhost ??
    ... please check the configuration of the sshd daemon. ... The script I used for doing this is below. ... echo "Usage: teston hostname buildname" ... echo rm -f $2.tar>> remote-test ...
    (comp.security.ssh)
  • Isakmpd wont get killed?
    ... because it is part of a big project, beased on changing isakmpd ... configurations every now and then...here is my script, ... echo "done...starting new isakmpd configuration" ...
    (comp.unix.bsd.openbsd.misc)
  • Isakmpd wont get killed?
    ... because it is part of a big project, beased on changing isakmpd ... configurations every now and then...here is my script, ... echo "done...starting new isakmpd configuration" ...
    (comp.unix.bsd.openbsd.misc)
  • interactive script called suring startup on Fedora Core 2
    ... Because I have four possible work locations, I have four network ... configurations that I choose from using an interactive bash script, ... configuration to use when I boot. ... it pauses but doesn't echo the menu to ...
    (comp.os.linux.misc)
  • Re: php.ini at FC2
    ... else echo 'No Configuration File!'; ... The script above outputs ... I will answer all pertinent mails from a valid address. ...
    (comp.os.linux.setup)