| Author |
fsockopen problem on port 110
|
|
| Thibaut HENRY 2005-11-10, 6:56 pm |
| Hello
I have a problem with the fsockopen function....
Here is my code :
<?
$fp = fsockopen($server, $port, $errno, $errstr, 30);
if (!$fp) {
echo "ERREUR : $errstr ($errno)<br />\n";
}
?>
with
server="ww.free.fr" and port=80 : evrything is OK
but with
server="pop.free.fr" and port="110"
I have got the output : "ERREUR : ()"
Where is the problem ?
| |
| Colin McKinnon 2005-11-10, 6:56 pm |
| Thibaut HENRY wrote:
> Hello
> I have a problem with the fsockopen function....
>
> Here is my code :
<snip>
OK
> with
> server="ww.free.fr" and port=80 : evrything is OK
> but with
> server="pop.free.fr" and port="110"
> I have got the output : "ERREUR : ()"
> Where is the problem ?
On the server? What happens when you 'telnet pop.free.fr 110' ?
C.
| |
| Thibaut HENRY 2005-11-10, 6:56 pm |
| > On the server? What happens when you 'telnet pop.free.fr 110' ?
I dont know what happens on the server because i dont have the right to use
telnet (my homepage is on free server)
From my computer 'telnet pop.free.fr 110' works, i manage to rich the pop
server...
Maybe there is a firewall on free server that prevent me to rich the pop
server !
"Colin McKinnon"
<colin.thisisnotmysurname@ntlworld.deletemeunlessURaBot.com> a écrit dans le
message de news: pIPcf.12170$Cq4.9036@newsfe7-gui.ntli.net...
> Thibaut HENRY wrote:
>
> <snip>
>
> OK
>
>
> On the server? What happens when you 'telnet pop.free.fr 110' ?
>
> C.
|
|
|
|