Re: fopen problem
| From: | Hugh Danaher | Date: | Sat, 29 Sep 2001 07:47:50 +0000 |
| Subject: | Re: fopen problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69261@lists.php.net to get a copy of this message | ||
Sid,
This is from the online manual. and includes double quotes about the URL and
a read option--also with double quotes. I'm an eft and haven't called a
file using any other method than that below, but it has worked for me so
far.
Hugh
$fp = @fopen("http://www.someurl.com/testfile.php3","r");
----- Original Message -----
From: Sid <cyco_sid@phreaker.net>
To: <php-general@lists.php.net>
Sent: Friday, September 28, 2001 11:20 PM
Subject: [PHP] fopen problem
> Hi,
>
> I am trying this command $fp=fopen (http://www.chaosgamerz.com/index.php);
> This command is being executed from a script on the same domain but a
different
> location. This is the warning message I get -
> Warning: readfile("http://...@chaosgamerz.com") - A
> socket must be already
connected.
>
>
> Any solutions???
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>