both php and mysql is on the same machine.

even running the following timesout:
<?php

if (!($mylink = @mysql_pconnect("localhost","*****","******")))

print "<h3>Problem connecting to the database server</h3>\n";

exit();

}

mysql_select_db("xxxxxxx") or die ("<h3>Problem connecting to the
database</h3><br>Description:" . mysql_error());

?>



----- Original Message ----- 
From: "Raditha Dissanayake" <[EMAIL PROTECTED]>
To: "Mario" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, January 30, 2004 1:01 PM
Subject: Re: [PHP] PHP timeout


>
> Well the situation you have described are the typical symptoms of a
> firewall eating up packets.  (Simple scripts running fine and those that
> connect to networking timing out) How about installing both the php
> engine and mysql on the same machine for testing?
>
>
> Mario wrote:
>
> >thanks for the reply Raditha.
> >
> >I don't have a firewall setup on this PC
> >
> >Is there a chance it's a permissions problem?
> >And why do few simple scripts run fine though?
> >
> >Thanks
> >
> >Mario
> >----- Original Message ----- 
> >From: "Raditha Dissanayake" <[EMAIL PROTECTED]>
> >To: "Mario" <[EMAIL PROTECTED]>
> >
> >
>
> -- 
> Raditha Dissanayake.
> ------------------------------------------------------------------------
> http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
> Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
> Graphical User Inteface. Just 150 KB | with progress bar.
>
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to