Hi all,
I have a machine that must insert in cron in a mysql db in another
remote machine.
The problem is that I cannot know if the connection in the first
machine (adsl) go down because no entry in the machine log is
generated. I would like to redirect the die function in a e-mail that
say me
Ford, Mike [LSS] wrote:
On 14 August 2004 15:50, raditha dissanayake wrote:
Ford, Mike [LSS] wrote:
(And, BTW, the HTTP definition says that the Location:
header should specify a full absolute URL, so that should be:
header("Location:
http://your.server.name/path/to/error
On 14 August 2004 15:50, raditha dissanayake wrote:
> Ford, Mike [LSS] wrote:
>
> >
> > (And, BTW, the HTTP definition says that the Location:
> header should specify a full absolute URL, so that should be:
> >
> > header("Location:
> http://your.server.name/path/to/errors/servererror.php";);
Ford, Mike [LSS] wrote:
(And, BTW, the HTTP definition says that the Location: header should specify a
full absolute URL, so that should be:
header("Location: http://your.server.name/path/to/errors/servererror.php";);
are you sure?
--
Raditha Dissanayake.
--
> -Original Message-
> From: John Gostick
> Sent: 14/08/04 15:19
> I have a quick question about using the PHP die() function.
[...]
> I changed the code to this:
>
> $connection = mysql_connect($host, $user, $password)
>or die("Error connec
John Gostick wrote:
Hi,
I have a quick question about using the PHP die() function. I'm building a
site around a MySQL database, and when I connect to the database from a PHP
page I use the following code:
$connection = mysql_connect($host, $user, $password)
or die("Error connect
Hi,
I have a quick question about using the PHP die() function. I'm building a
site around a MySQL database, and when I connect to the database from a PHP
page I use the following code:
$connection = mysql_connect($host, $user, $password)
or die("Error connecting to SQL serve
7 matches
Mail list logo