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
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 =
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
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
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
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
[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
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
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
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
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
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
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
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,
14 matches
Mail list logo