|
Posted by petersprc on 11/21/06 06:40
If using fsockopen, try without the "http://", since fsockopen expects
a host. You could also use reafile, file_get_contents, fopen, etc. on
a URL.
Yoko wrote:
> So I am using php version 4.3.9 and lets say i have a file on the server
> called tester.php
>
> so i am using fsockopen to point to that file but it gives me a error below.
>
>
>
> $fh = @fsockopen("http://www.mysite.com/teter.php", "80", $errno, $errstr,
> 180);
>
> 111 Connection refused
>
> This server is linux Redhat Enterprise with Apache 2.x
>
> Is there anything i need to edit in the php.ini file or apache file.
>
>
>
> Thanks...
Navigation:
[Reply to this message]
|