You are here: Re: [PHP] Fsockopen error « PHP « IT news, forums, messages
Re: [PHP] Fsockopen error

Posted by Jochem Maas on 11/02/05 18:35

still no info on what your version of php etc.
but that output gives the impression it may not be the OS after all...

are you able to recompile php? (using the --no-ipv6 flag or whatever it mentioned
in the original php error message you posted).

I have no idea how 'invalid' certificates are handled when connecting
to an SSL enabled port ... maybe that's what really causing the problem

have you confirmed that grabbing stuff over normal http does work?...

// something like...
$er = http_post("http://www.php.net", 80, "/" );

Robert Prentice wrote:
> I get this error:
>
> wget -d -v --delete-after https://www.safetrustprocessing.com
> Setting --verbose (verbose) to 1
> Setting --delete-after (deleteafter) to 1
> DEBUG output created by Wget 1.10.1 (Red Hat modified) on linux-gnu.
>
> --17:15:16-- https://www.safetrustprocessing.com/
> => `index.html'
> Resolving www.safetrustprocessing.com... 209.200.128.119
> Caching www.safetrustprocessing.com => 209.200.128.119
> Connecting to www.safetrustprocessing.com|209.200.128.119|:443...
> connected.
> Created socket 3.
> Releasing 0x081fb188 (new refcount 1).
> Initiating SSL handshake.
> Handshake successful; connected socket 3 to SSL handle 0x08210a50
> certificate:
> subject: /C=US/O=www.safetrustprocessing.com/OU=https://
> services.choicepoint.net/get.jsp?GT91812388/OU=See www.geotrust.com/
> resources/cps (c)04/OU=Domain Control Validated - QuickSSL(R)/
> CN=www.safetrustprocessing.com
> issuer: /C=US/O=Equifax Secure Inc./CN=Equifax Secure Global
> eBusiness CA-1
> ERROR: Certificate verification error for www.safetrustprocessing.com:
> unable to get local issuer certificate
> To connect to www.safetrustprocessing.com insecurely, use `--no-check-
> certificate'.
> Closed 3/SSL 0x8210a50
> Unable to establish SSL connection.
>
>
> On Nov 2, 2005, at 11:18 AM, Jochem Maas wrote:
>
>> Robert Prentice wrote:
>>
>>> Even if i change it back to 443 i still get the error.
>>>
>>
>> take another look at your initail error message... it indicates
>> a problem related to the machines nameserver/dns setting (specifically
>> IPv6).
>>
>> I'm willing to bet it's nothing to do with php - your OS seems to at
>> fault.
>> note that you never mention anything about what version of software you
>> are using or even what platform you are running on... I'll just assume
>> linux and the prerequisite knowledge:
>>
>> does this work for you?:
>>
>> wget -d -v --delete-after https://www.safetrustprocessing.com
>>
>>
>>> Robert
>>> On Nov 2, 2005, at 9:54 AM, Jochem Maas wrote:
>>>
>>>> Terence wrote:
>>>>
>>>>
>>>>> Robert Prentice wrote:
>>>>> snip
>>>>>
>>>>>
>>>>>> $reply = http_post("https://www.safetrustprocessing.com", 80, "/
>>>>>>
>>>>>>
>>>>> Isnt https supposed to run on port 443? (or other than 80) Just a
>>>>> guess
>>>>>
>>>>>
>>>>
>>>> that is the default, but any port is allowed technically ...
>>>> although putting
>>>> port 80 under SSL is probably going to cause you a headache
>>>> sometime/somewhere.
>>>>
>>>>
>>>>
>>>>>> xml_order_processing.php", array("myXml" => $xml));
>>>>>> function http_post ($server, $port, $url, $vars) {
>>>>>>
>>>>>>
>>>>
>>>> --
>>>> PHP General Mailing List (http://www.php.net/)
>>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>>
>>>>
>>>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>

 

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

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