You are here: PHP Help Needed « All PHP « IT news, forums, messages
PHP Help Needed

Posted by Commentator on 06/02/07 19:58

Running a hosted site on Netfirms.

This php script

<?php
$fp = fsockopen("pop.XXXXXXXX.ca", 110, $errno, $errstr, 3);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
echo "Connected ok <br />\n";
fclose($fp);
}
>

returns

Warning: fsockopen() [function.fsockopen]: unable to connect to
pop.XXXXXXXX.ca:110 in
mnt....................../www/XXXXXXXX.ca/forums/testsocket.php on line 2
Permission denied (13)

Using M2F with phpBB, cannot connect to the pop server. Everything else
installed and works fine. M2F uses the pear packages for pop connections.
I have tried changing the configuration from php 4 to php 5 and that made no
difference.

I do have the ability for a custom php.ini file. Would putting something in
it resolve this connection error?

TIA

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация