[PHP] Connection error expected but ...

2010-05-06 Thread Al Mangkok
Code below from the manual. I changed $ldaphost to some fictitious name. When I ran the script, I always get the message Connection was successful ! Why didn't the script bomb and give the could not connect message? ?php // LDAP variables $ldaphost = ldap.noname.com; // your ldap servers

[PHP] Connection error on URI

2009-01-28 Thread Skip Evans
Hey all, I'm working on someone else's code that tries to read an XML transaction from a remote server with the following code. $url=http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNumSNum=.$user_sass; // $url = urlencode($url); $xml_response =

Re: [PHP] Connection error on URI

2009-01-28 Thread Jan G.B.
2009/1/28 Skip Evans s...@bigskypenguin.com: Hey all, $url=http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNumSNum=.$user_sass; $xml_response = file_get_contents($url, true); But this transaction times out and returns an empty transaction, even with the call to

Re: [PHP] Connection error on URI

2009-01-28 Thread Skip Evans
Here's the output with the call to error_reporting(255); in place. Calling Sassnet... Warning: file_get_contents(http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNumSNum=59) [function.file-get-contents]: failed to open stream: Connection timed out in

Re: [PHP] Connection error on URI

2009-01-28 Thread Jim Lucas
Skip Evans wrote: Hey all, I'm working on someone else's code that tries to read an XML transaction from a remote server with the following code. $url=http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNumSNum=.$user_sass; // $url = urlencode($url); The

[PHP] connection error on file upload

2006-04-03 Thread Kenn
Greetings. I'm having a problem with my upload handler. If I send small files (under 1M or so), it works fine. if I send larger files, I get the following error in Firefox: The connection was reset. The connection to the server was reset while the page was loading. When using Internet

RE: [PHP] connection error on file upload

2006-04-03 Thread Jay Blanchard
[snip] The connection was reset. The connection to the server was reset while the page was loading. [/snip] Script timeout Max upload size -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] connection error on file upload

2006-04-03 Thread Kenn
That was my first thought, but two things: 1. the error occurs IMMEDIATELY, and 2. the max_execution_time = 6000 so I would think that arbitrarily high number would prevent that error? Jay Blanchard wrote: [snip] The connection was reset. The connection to the server was reset while the

Re: [PHP] connection error on file upload

2006-04-03 Thread Kenn
neglected to mention: upload_max_filesize = 200M post_max_size = 250M Kenn wrote: That was my first thought, but two things: 1. the error occurs IMMEDIATELY, and 2. the max_execution_time = 6000 so I would think that arbitrarily high number would prevent that error? Jay Blanchard

Re: [PHP] connection error on file upload

2006-04-03 Thread Kenn
Jay Blanchard wrote: [snip] Jay Blanchard wrote: [snip] That was my first thought, but two things: 1. the error occurs IMMEDIATELY, and 2. the max_execution_time = 6000 so I would think that arbitrarily high number would prevent that error? [/snip] If it occurs

Re: [PHP] connection error on file upload

2006-04-03 Thread tedd
At 10:20 AM -0500 4/3/06, Kenn wrote: Greetings. I'm having a problem with my upload handler. If I send small files (under 1M or so), it works fine. if I send larger files, I get the following error If nothing else works, send smaller segments. Nothing wrong with appending to a file, is

Re: [PHP] Connection error

2001-03-02 Thread php3
Addressed to: [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from [EMAIL PROTECTED] Fri, 2 Mar 2001 15:59:55 -0500 Hi, When I run the code: ?php mysql_connect ("LOCALHOST","webmaster2","hironsc0"); ? I got error message: Fatal error: Call to unsupported or

[PHP] Connection error

2001-03-02 Thread Shaohua Qu
Hi, When I run the code: ?php mysql_connect ("LOCALHOST","webmaster2","hironsc0"); ? I got error message: Fatal error: Call to unsupported or undefined function mysql_connect() in ... HELP! Thanks in advance, Sharon -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Connection error

2001-03-02 Thread David Smith
quot;webmaster2", "**"); if ($connection == false){ echo mysql_errno().": ".mysql_error()."BR"; exit; } ? -Original Message- From: Shaohua Qu [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 4:00 PM To: [EMAIL PROTECTED] Subject: [PHP] Connection error Hi,