 | | | | |  | | | | | Guest | PHP Help Needed -
06-02-2007, 10:08 PM
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 | | | | | | | | Guest | Re: PHP Help Needed -
06-04-2007, 01:36 AM
Commentator wrote:
> 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
>
>
>
Maybe you should try a php newsgroup?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. EMAIL REMOVED
================== | | | | | | | | Guest | Re: PHP Help Needed -
06-04-2007, 01:36 AM
Jerry Stuckle wrote:
> Commentator wrote:
>> 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
>>
>>
>>
>
> Maybe you should try a php newsgroup?
I have as well. It was suggested to me I try here too. I have no idea if
this is really a PHP issue, or the way the server is configured. | | | | | | | | Guest | Re: PHP Help Needed -
06-04-2007, 01:36 AM
Commentator wrote:
> Jerry Stuckle wrote:
>> Commentator wrote:
>>> 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
>>>
>>>
>>>
>> Maybe you should try a php newsgroup?
>
> I have as well. It was suggested to me I try here too. I have no idea if
> this is really a PHP issue, or the way the server is configured.
>
>
>
Either way, a php newsgroup is a better place.
And when posting to multiple newsgroups, you should cross-post, not
multi-post.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. EMAIL REMOVED
================== | | | | | | | | Guest | Re: PHP Help Needed -
06-04-2007, 01:36 AM
Jerry Stuckle wrote:
> Commentator wrote:
>> Jerry Stuckle wrote:
>>> Commentator wrote:
>>>> 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
>>>>
>>>>
>>>>
>>> Maybe you should try a php newsgroup?
>>
>> I have as well. It was suggested to me I try here too. I have no
>> idea if this is really a PHP issue, or the way the server is
>> configured.
>
> Either way, a php newsgroup is a better place.
>
> And when posting to multiple newsgroups, you should cross-post, not
> multi-post.
Any other non-helpful comments before you finish? | | | | | | | | Guest | Re: PHP Help Needed -
06-04-2007, 01:36 AM
On Jun 2, 3:16 pm, "Commentator" <Commenta...@NoSpam.com> wrote:
> Jerry Stuckle wrote:
> > Commentator wrote:
> >> Jerry Stuckle wrote:
> >>> Commentator wrote:
> >>>> 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
>
> >>> Maybe you should try a php newsgroup?
>
> >> I have as well. It was suggested to me I try here too. I have no
> >> idea if this is really a PHP issue, or the way the server is
> >> configured.
>
> > Either way, a php newsgroup is a better place.
>
> > And when posting to multiple newsgroups, you should cross-post, not
> > multi-post.
>
> Any other non-helpful comments before you finish?- Hide quoted text -
>
> - Show quoted text -
nope
this may be the bugger
chances are your host has a php openbase directory protection thing
enabled.
stopping you from opening files outside your main directory.
much less another domain.
if i'm not mistooken, i believe nf is cpanel, so this may be a server
wide default setting.
if so, they can disable it for your domain easily.
then again, who knows.
have you asked them? | | | | | | | | Guest | Re: PHP Help Needed -
06-04-2007, 01:36 AM
Commentator wrote:
> Jerry Stuckle wrote:
>> Commentator wrote:
>>> Jerry Stuckle wrote:
>>>> Commentator wrote:
>>>>> 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
>>>>>
>>>>>
>>>>>
>>>> Maybe you should try a php newsgroup?
>>> I have as well. It was suggested to me I try here too. I have no
>>> idea if this is really a PHP issue, or the way the server is
>>> configured.
>> Either way, a php newsgroup is a better place.
>>
>> And when posting to multiple newsgroups, you should cross-post, not
>> multi-post.
>
> Any other non-helpful comments before you finish?
>
>
>
Just that if that's going to be your attitude, **** off, slime.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. EMAIL REMOVED
================== | | | | | | | | Guest | Re: PHP Help Needed -
06-04-2007, 01:36 AM
Jerry Stuckle wrote:
> Commentator wrote:
>> Jerry Stuckle wrote:
>>> Commentator wrote:
>>>> Jerry Stuckle wrote:
>>>>> Commentator wrote:
>>>>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>> Maybe you should try a php newsgroup?
>>>> I have as well. It was suggested to me I try here too. I have no
>>>> idea if this is really a PHP issue, or the way the server is
>>>> configured.
>>> Either way, a php newsgroup is a better place.
>>>
>>> And when posting to multiple newsgroups, you should cross-post, not
>>> multi-post.
>>
>> Any other non-helpful comments before you finish?
>>
>>
>>
>
> Just that if that's going to be your attitude, **** off, slime.
Exactly why I don't cross post. There is always someone who is more
interested in telling you how to post rather than offering anything even
remotely useful. Not surprisingly, this is exactly the response I expected
from you. | | | | | | | | Guest | Re: PHP Help Needed -
06-04-2007, 01:36 AM
Gwin wrote:
> On Jun 2, 3:16 pm, "Commentator" <Commenta...@NoSpam.com> wrote:
>> Jerry Stuckle wrote:
>>> Commentator wrote:
>>>> Jerry Stuckle wrote:
>>>>> Commentator wrote:
>>>>>> 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
>>
>>>>> Maybe you should try a php newsgroup?
>>
>>>> I have as well. It was suggested to me I try here too. I have no
>>>> idea if this is really a PHP issue, or the way the server is
>>>> configured.
>>
>>> Either way, a php newsgroup is a better place.
>>
>>> And when posting to multiple newsgroups, you should cross-post, not
>>> multi-post.
>>
>> Any other non-helpful comments before you finish?- Hide quoted text -
>>
>> - Show quoted text -
>
> nope
>
> this may be the bugger
> chances are your host has a php openbase directory protection thing
> enabled.
> stopping you from opening files outside your main directory.
> much less another domain.
> if i'm not mistooken, i believe nf is cpanel, so this may be a server
> wide default setting.
> if so, they can disable it for your domain easily.
>
> then again, who knows.
> have you asked them?
I have posted the question to NetFirms, but I am unsure how long a response
will take as this is the first time I have had to use their support. And
yes, they are cpanel.
Thanks. | | | | | | | | Guest | Re: PHP Help Needed -
06-04-2007, 01:36 AM
Commentator wrote:
> Jerry Stuckle wrote:
>> And when posting to multiple newsgroups, you should cross-post,
>> not multi-post.
>
> Any other non-helpful comments before you finish?
That *was* helpful. It was helpful to the people you seem to be
dependent on for help. Do the math. And if you still want to piss
them off so they won't feel like helping you, continue on in your
present vein.
--
Blinky
Killfiling all posts from Google Groups
Details: http://blinkynet.net/comp/uip5.html | | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |  |