PLZ HELP ! fsockopen is not working
Posted 24 August 2006 - 11:41 AM
I am having trouble connecting through fsockopen()
here is the function:
$socket = fsockopen('http://www.proactive.info' 80, &$errno, &$errstr, 30)
$errno is returning 0
Is there anythg i should to make it work ?
Posted 24 August 2006 - 11:47 AM
fsockopen('www.proactive.info', 80, &$errno, &$errstr, 30)
But what i need to know is how can i connect to an HTTPS link ?
Posted 24 August 2006 - 12:01 PM
Maybe the situation will be clearer if i explain my situation.
I am trying to POST XML via HTTP
for example i wanna post <request name=joe></request> to this link https://process.csc2...ateway/api.aspx
Thank u 4 ur help
Posted 24 August 2006 - 12:08 PM
$errno is returning 0 and $socket is returning FALSE
This indicates that the error occurred before the connect() call. This is most likely due to a problem initializing the socket.
<---- this is from php.net
Posted 24 August 2006 - 03:22 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users