[PHP] Re: fsockopen in phpmailer and tls

2008-09-07 Thread Manuel Lemos
Hello, on 09/05/2008 12:20 AM Larry Brown said the following: I am having a ball of a time trying to figure this one out... If anyone has dealt with this before I'd love to get some morsels of wisdom from you... I am trying to connect to a postfix server I have set up remotely using smtp auth

Re: [PHP] Re: fsockopen on ssl://

2008-05-19 Thread bob pilly
From: Ólafur Waage [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, 19 May, 2008 10:26:58 AM Subject: Re: [PHP] Re: fsockopen on ssl:// Are you doing the command line on the same machine as the server? Have you checked out the apache configuration? Since phpcli runs alone. (iirc

[PHP] Re: fsockopen on ssl://

2008-05-18 Thread bob pilly
Hi Manuel Thanks for the reply. I have tested it with a timeout of 20 seconds and the same thing occurs. It works as before from the command line and not form within apache.. Any more ideas? Cheers Bob - Original Message From: Manuel Lemos [EMAIL PROTECTED] To: bob pilly [EMAIL

Re: [PHP] Re: fsockopen on ssl://

2008-05-18 Thread Ólafur Waage
Are you doing the command line on the same machine as the server? Have you checked out the apache configuration? Since phpcli runs alone. (iirc) 2008/5/18 bob pilly [EMAIL PROTECTED]: Hi Manuel Thanks for the reply. I have tested it with a timeout of 20 seconds and the same thing occurs. It

[PHP] Re: fsockopen on ssl://

2008-05-13 Thread Manuel Lemos
Hello, on 05/13/2008 04:37 PM bob pilly said the following: Hi all I have tried researching this issue but havent come up with any solution so im hoping someone has seen it before and can help. I have the following test script that uses fsockopen to connect to a https site, get the

[PHP] Re: fsockopen error messages

2006-11-06 Thread Myron Turner
You may have your host incorrectly set. I posted an example yesterday of how to use sockets with POST under the thread : [PHP] XML Sending problem Philip Thompson wrote: Hi. I have not dealt much with fsockopen, but after looking at many examples, I'm not finding the answers I need.

[PHP] Re: fsockopen, openssl error

2006-01-20 Thread Barry
James Benson wrote: Im running into the followng error when trying to use fsockopen with the openssl extension, Warning: fsockopen(): php_stream_sock_ssl_activate_with_method: failed to create an SSL context Warning: fsockopen(): failed to activate SSL mode 1 Socket Error: Operation now

[PHP] Re: fsockopen, openssl error

2006-01-20 Thread James Benson
Seems like he can't start TLS.´ Have you tried a newer version of PHP than 4.4.2? If so, i would like to know what happened. Barry Just compiled 5.1.2 and 4.4.1, it happended again with 4.4.1 but not with 5.1.2, I dont have time to try 4.4.0 but will do later. One thing i forgot to

[PHP] Re: fsockopen, openssl error

2006-01-20 Thread Barry
James Benson wrote: Seems like he can't start TLS.´ Have you tried a newer version of PHP than 4.4.2? If so, i would like to know what happened. Barry Just compiled 5.1.2 and 4.4.1, it happended again with 4.4.1 but not with 5.1.2, I dont have time to try 4.4.0 but will do later.

[PHP] Re: Fsockopen error

2005-11-01 Thread Curt Zirzow
On Tue, 01 Nov 2005 14:06:04 -0500, Robert Prentice wrote: I am attempting to connect to a remote server using fsockopen to post data to a php file. Here is the error i get: Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known (is your IPV6

RE: [PHP] Re: fsockopen() errors.

2004-03-09 Thread Phil Ewington - 43 Plc
Tom, Thought about that one or simply trying to catch the error in my site wide error handler, will give it a try, thanks. -- Phil. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 08 March 2004 15:53 To: PHP Subject: [PHP] Re: fsockopen() errors. On 8

[PHP] Re: fsockopen() errors.

2004-03-08 Thread trlists
On 8 Mar 2004 Phil Ewington - 43 Plc wrote: Can anyone tell me the best way to avoid errors using fsockopen(). I have tried wrapping the function call in a conditional statement, and have also tried calling the function and then testing the return. Here's an approach I have used to avoid any

[PHP] Re: fsockopen failed with permission denied error...

2004-02-20 Thread Scott Fletcher
Hi Justin! Still have the same problem. But that's okay, I decided not to use the fsockopen() recently. Because some people seem to have this problem too. So, I'm pondering of doing a different way of using PHP. FletchSOD Justin Patrin [EMAIL PROTECTED] wrote in message news:[EMAIL

[PHP] Re: fsockopen failed with permission denied error...

2004-02-19 Thread Justin Patrin
Scott Fletcher wrote: Hi Everyone! Sample code below... --snip-- $fp = fsockopen(www.cnn.com, 80, $errno, $errstr, 30); --snip-- I get the error message, permission denied along with 13. When I read the bugs.php.net and found out that I need to add the @ to it so I did this.. --snip-- $fp =

[PHP] Re: fsockopen to conect to ssl sites

2004-01-05 Thread Manuel Lemos
Hello, On 01/03/2004 03:06 PM, Jorge Castaneda wrote: WHERE IS THE ERROR? The username and the password are the correct and the name of the variables (login and pass) also match. I tried to get data from a secure site but I always receive the next message instead of the page I

[PHP] Re: fsockopen()

2003-09-30 Thread Cameron Metzke
Ima having problems myself with this, i dont seem to get errors when entering an invalid .com or .net name i put it down to verisign hijacking invalid somains?? could this be your problem? Phil Ewington - 43 Plc [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All, I am having

Re: [PHP] Re: fsockopen/ssl

2003-08-14 Thread Scott Fletcher
Great! Glad to hear it is working. Apache conf file can be a haunting task if we try new things as never before. Wendy Reetz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] AHAH! Thank you for your help. You mentioned that the private key was missing. I didn't realize I was

Re: [PHP] Re: fsockopen/ssl

2003-08-14 Thread Wendy Reetz
AHAH! Thank you for your help. You mentioned that the private key was missing. I didn't realize I was generating a private key! (ok, I'm not new to php, but definitely new to the whole system configuration, apache, ssl side of things). So, in looking into that I found that I hadn't

[PHP] Re: fsockopen/ssl

2003-08-14 Thread Scott Fletcher
Try https://; instead of ssl://, this is what is normally done. As for your problem. It look like the private key when generated was too short, this can be overcomed by entering more characters at the time of the generation of hte key. But from your comments, you mentioned that from the article

[PHP] Re: fsockopen proxy?

2002-09-06 Thread :B nerdy
its failing before i can even authorize myself for use in the proxy at if ($fs = fsockopen(wwp.icq.com,80)) { what must i do?? :/ the proxy is on port 8080? cheers :B Nerdy [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... im unable to access the web

[PHP] Re: fsockopen and HTTP/1.1???

2002-07-01 Thread Richard Lynch
In article [EMAIL PROTECTED] , [EMAIL PROTECTED] (Alex Elderson) wrote: open connection to webapps.hardinxveld.netflex.nl oke get / done get / failt Closing connection to webapps.hardinxveld.netflex.nl oke The problem is the Connection: Close\n\n header. The webserver close the

Re: [PHP] Re: fsockopen and HTTP/1.1???

2002-07-01 Thread Chris Shiflett
Richard Lynch wrote: Secondly, I think it's probably just a Bad Idea (tm) to try to force HTTP to do 2 files in one connection anyway -- It just complicates your life, and is giving you headaches already... How much worse will it get in a year? Actually, it's a very good idea and very well

[PHP] Re: fsockopen

2002-05-16 Thread Henry Grech-Cini
I'm confused! Did you want to make a new post for this comment or a reply to another post. Or does it in some way relate to my question. On my newsgroup browser it appears as if this post is in the wrong place! In answer to my post on Newlines in fputs Thanks for responding anyway. Henry

Re: [PHP] Re: fsockopen

2002-05-16 Thread Jason Wong
On Thursday 16 May 2002 21:31, Henry Grech-Cini wrote: I'm confused! Did you want to make a new post for this comment or a reply to another post. Or does it in some way relate to my question. On my newsgroup browser it appears as if this post is in the wrong place! In answer to my post on

[PHP] Re: fsockopen timeout

2002-02-15 Thread Peter Clarke
OK I've found it... The time out value is a FLOAT. So a timeout of 1 second is 1.0. Strange since the examples in the manual are integers. Anyway this works: $socket = fsockopen($urlArray[host], $urlArray[port], $errnum, $errstr, 1.0); Peter Clarke [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] Re: fsockopen nntp stalls

2001-12-26 Thread David
hmm, does it work with smaller newsgroups? such as php\'s one which have ~30 groups. when i wrote my own reader (using fsockopen also), i found that stalls are usually because of my own error(eg, article not found, etc) you can take a peek at jim winstead\'s code from

[PHP] Re: fsockopen() prob

2001-11-29 Thread Yura
Nop, doesn't work - the same result, supplied argument is not valid file handler... Youri Global variables are not really global in php because they are not available from within functions unless you specifically declare them as global. This should work: 130 function get_line { 131

[PHP] Re: fsockopen() prob

2001-11-28 Thread Fred
Global variables are not really global in php because they are not available from within functions unless you specifically declare them as global. This should work: 130 function get_line { 131 global $socket_open; 132 $buffer = fgets($socket_open,500); 133 $buffer =