Hm.
Commented out the line & re-tested. Absolutely no change whatsoever :(
Even made it false.
I'm really hoping I've been an idiot on this one. Makes no sense
otherwise but this is where I am.
Hope to hear further suggestions.
James
On 20 February 2011 03:05, Daniel Brown wrote:
> On Fri, Fe
On Fri, Feb 18, 2011 at 10:21, James Green wrote:
> Been reading through
> http://uk.php.net/manual/en/features.connection-handling.php and
> trying to implement a solution using it. So far the documented
> behaviour rarely occurs.
>
> This code is a minimal test case: http://codepad.org/GqNlcWiM
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=FindMemBySASSNum&SNum=".$user_sass;
>
> // $url = urlencode($url);
T
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=FindMemBySASSNum&SNum=59)
[function.file-get-contents]: failed to open stream:
Connection timed out in
/usr/sites/sassnet
2009/1/28 Skip Evans :
> Hey all,
> $url="http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNum&SNum=".$user_sass;
> $xml_response = file_get_contents($url, true);
>
> But this transaction times out and returns an empty transaction, even with
> the call to urlencode, which I t
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 the
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]
>>
>>
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 Blanchar
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
[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
On Thu, Dec 22, 2005 at 05:23:51PM -0500, Michael B Allen wrote:
>...
>
> #
> # KeepAlive: Whether or not to allow persistent connections (more than
> # one request per connection). Set to "Off" to deactivate.
> #
> KeepAlive Off
>
> Mmm, why does the Fedora 4 apache package ship with keep-alive
On Thu, 22 Dec 2005 17:16:03 -0500
Michael B Allen <[EMAIL PROTECTED]> wrote:
> On Thu, 22 Dec 2005 09:42:08 +0100
> Jochem Maas <[EMAIL PROTECTED]> wrote:
>
> > Michael B Allen wrote:
> > > Why does PHP always close the connection with Connection: close? I'm
> > > using PHP 4.3.11 w/ Firefox 1.0
On Thu, 22 Dec 2005 09:42:08 +0100
Jochem Maas <[EMAIL PROTECTED]> wrote:
> Michael B Allen wrote:
> > Why does PHP always close the connection with Connection: close? I'm
> > using PHP 4.3.11 w/ Firefox 1.0.4. Requests are HTTP/1.1 and Connection:
> > keep-alive is requested.
> >
>
> a very sma
Michael B Allen wrote:
Why does PHP always close the connection with Connection: close? I'm
using PHP 4.3.11 w/ Firefox 1.0.4. Requests are HTTP/1.1 and Connection:
keep-alive is requested.
a very small sum of money says that this is due to your
webserver config and not php (check httpd.conf?)
> -Original Message-
> From: HarryG [mailto:[EMAIL PROTECTED]
> Sent: Saturday, April 02, 2005 6:29 AM
> I am connecting to two database in my index.php.
If the 2 databases are on the same mysql server and the MySQL user has access
to both databases, You can easily use join:
Select name
both db's on the same host ?
I would try select * from second_db2.theothertable :)
On 02/04/2005, at 6:53 PM, Jochem Maas wrote:
HarryG wrote:
Hi,
I am connecting to two database in my index.php.
Here is how:
@ $db = mysql_connect("localhost", USERLOGIN, USERDBPASS);
if (!$db)
{ print "Error: Co
HarryG wrote:
Hi,
I am connecting to two database in my index.php.
Here is how:
@ $db = mysql_connect("localhost", USERLOGIN, USERDBPASS);
if (!$db)
{ print "Error: Could not connect to database. Please try again later.";
exit; }
mysql_select_db(DATABASE);
@ $userdb = mysql_connect("localhost"
Bosky, Dave wrote:
What options are available regarding connection pooling using PHP?
I understand how to accomplish this using Java but PHP is another language.
for most db extensions there are persistent variants of the connect
functions.
e.g. ibase_pconnect()
php is unlike java in that there is
Dennis Gearon wrote:
When I connect to a database on the same machine as the apache server us
running under, that's server name "localhost", right?
Yes. You can also use the IP address or computer name.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: T
Was reading through:
http://uk.php.net/manual/en/features.connection-handling.php
And I was wondering how PHP handles script termination when you have
'output_buffering = On' in your php.ini?
If I have a long script that does lots of database stuff for example,
and is riddled with echo() fun
1. Install IBM Client Access on your NT machine
2. Add details of your AS400 to Client Access
3. Create a Client Access data source in ODBC
4. Use ODBC calls within PHP, for example:
$connect = odbc_connect("AS400", "username", "password");
$query = "SELECT free
FROM
TED]>
Sr. Software Designer
Geodesic Information Systems Ltd.
-Original Message-
From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 1:00 PM
To: 'Vinod Panicker'; [EMAIL PROTECTED]
Subject: RE: [PHP] Connection pool extension?
PHP suppo
er
Geodesic Information Systems Ltd.
-Original Message-
From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 1:00 PM
To: 'Vinod Panicker'; [EMAIL PROTECTED]
Subject: RE: [PHP] Connection pool extension?
PHP supports sockets check out
PHP supports sockets check out:
http://www.php.net/manual/en/ref.sockets.php
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Vinod Panicker [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 9 January 2003 5:31 PM
> To: [EMAIL PROTECT
Hello,
There could be a lot of problems here but what *exactly* is the problem? No
more coffee, perhaps? :)
Post the error, if there's any. Or, take away the "@" sign and see what
happens...
- E
"Paul Dionne" <[EMAIL PROTECTED]> wrote:
> Ug, I hate Mondays. must drink more coffee.
>
> Anyway
You need to set the parameters to whatever your ISP granted you for use of
MySQL...
$dbcnx = mysql_connect("servername","username","password");
You should ask your ISP what these are.
Justin French
on 29/09/02 9:54 PM, DC ([EMAIL PROTECTED]) wrote:
> Hi,
>
> OK I have my first php/mysql
Jason,
One option you have is to install OpenLink's Multi-Tier driver, ODBC
Agent, which will allow you to "piggyback" on DSNs on other machines,
e.g:
webserver with PHP, client side MT driver
DSN (let's call it "local_dsn") with ODBC as ServerType, and IDS as Name
db server with MS Access, s
There aren't too many elegant ways to do this, that I know of.
You can create a flash movie with a big chunk of nothing in it... With a
couple of calls, you can find how long it took to load So if it took 4
secs to load 200k You can sort of figure out their connection speed.
But unfortun
On Wednesday, November 28, 2001, at 05:40 PM, Fred wrote:
>
>> The browser has no direct connection to MySQL, so you are correct --
>> "those privilege tables are not helping to check on the privileges if
>> the client is from browser".
>>
>
> I find this a bit misleading.
Yes, I did too -- bu
> The browser has no direct connection to MySQL, so you are correct --
> "those privilege tables are not helping to check on the privileges if
> the client is from browser".
>
I find this a bit misleading. The privilege tables still work exactly as
they are intended.
That is, they check for a v
Basically, you don't "log on to mysql" through the internet browser.
You are using the internet browser only to request a file that is on a
web server. The web server is handing the request to PHP, and PHP is
accessing the MySQL database. PHP is accessing MySQL as whatever host
and user has
the client
host IP?
-Original Message-
From: Ryan Fox [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 4:44 PM
To: Wee Chua; MySQL (E-mail)
Subject: Re: Php connection with mysql?
In your situation, MySQL sees the client to be the web server, as it is the
box that conne
Not enough "}".
Change it to:
--
Plutarck
Should be working on something...
...but forgot what it was.
""Francois Boucher"" <[EMAIL PROTECTED]> wrote in message
9bsk0h$r2e$[EMAIL PROTECTED]">news:9bsk0h$r2e$[EMAIL PROTECTED]...
> I wrote this code but nothing append. If i look de code in
I suggest you should check if the mysql server is running.
And also you should check if there is a user "php" with password "php" and
with access from "localhost" granted on your mysql server.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
On Wed, Apr 18, 2001 at 09:22:32AM -0500, Plutarck wrote:
> Hm...can't say I've seen many subjects about this, but you might want to
> look around for information on WAP/WML.
>
> Maybe someone else would know more though, because I have no experiance with
> non-PC browsers.
For Palm/PocketPC/bla
De: Plutarck [SMTP:[EMAIL PROTECTED]]
> Enviado el: miércoles 18 de abril de 2001 10:42
> Para: [EMAIL PROTECTED]
> Asunto: Re: [PHP] Connection with a Palm
>
> "exporting data to a palm" is far too vague.
>
> PHP can produce data in a format suitable for saving on a Palm
pg_exec( $conn, ...
What do you think about this way ?
> -Message d'origine-
> De: Johannes Janson [SMTP:[EMAIL PROTECTED]]
> Date: mercredi 18 avril 2001 12:42
> À: [EMAIL PROTECTED]
> Objet: Re: [PHP] Connection to postgresql DB used by 2 scripts ?
>
> Hi,
>
>
Thank you ,where i can download more info about this ?
> -Mensaje original-
> De: Plutarck [SMTP:[EMAIL PROTECTED]]
> Enviado el: miércoles 18 de abril de 2001 10:42
> Para: [EMAIL PROTECTED]
> Asunto: Re: [PHP] Connection with a Palm
>
> "exporting
"exporting data to a palm" is far too vague.
PHP can produce data in a format suitable for saving on a Palm, or you can
have it interpret data from a Palm. To physically save data from a webpage
to a palm requires client-side scripting.
--
Plutarck
Should be working on something...
...but forgo
vril 2001 12:42
> À:[EMAIL PROTECTED]
> Objet: Re: [PHP] Connection to postgresql DB used by 2 scripts ?
>
> Hi,
>
> put: include("connect.php"); at the beginning of query.php.
>
> Johannes
>
> ""Picard, Cyril"" <[EMAIL PROTE
Hi,
put: include("connect.php"); at the beginning of query.php.
Johannes
""Picard, Cyril"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I would like to query a postgresql db with the php language.
> Today I wrote a script (connectandquery.php) perfor
TIA,
What you described is not possible. When you create that connection to the
mysql server, that connection dies when the script ends...
As far as persistent connections go, you will always call the code to create
the connection, but that connection lives on in that apache child process
until t
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:
>
>mysql_connect ("LOCALHOST","webmaster2","hironsc0");
> ?>
>
> I got error message:
> Fatal error: Call to unsupp
Try this... You need to set a variable for the connection. Also you might
be careful when sending examples of your code as you have given everyone on
this list your username/password to your database.
";
exit;
}
?>
-Original Message-
From: Shaohua Qu [mailto:[EMAIL PROTECTE
44 matches
Mail list logo