PHP List,
Okay, so I've got a nice situation where a form has a preview button as
well as a submit button. When the user presses "Submit", the page
reloads, and it emails a PDF.
If the user presses "Preview", it launches a new page in a new window,
and also outputs a PDF directly to the user so t
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
Help!
I've been beating on a problem all day and think I've isolated the problem to the
following line:
print "";
If I call the statement as is, I get a little red x where my map should be. In
earlier calls to the same directory, I can get a server error, misconfiguration...
if I change
> Hi,
>
> If I use die or exit() it break execution of php script but also
> browswer stop parsing html code. How to avoid this?
>
Use proper error handling instead of die()?
Let's face it, die() is for when your script needs to, well, die
Cheers
Jon
--
PHP General Mailing List (http:/
Hi,
If I use die or exit() it break execution of php script but also
browswer stop parsing html code. How to avoid this?
Regards.Max.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the li
11 matches
Mail list logo