Re: another redirecting question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Well, if you're inserting some data into a database and the person refreshes the page, it would re-insert the data again into the database. Including the page like you did at the end wouldn't change that fundamental problem, hence why you'd want to have it redirect to another page.


Metin

At 10:20 AM 5/30/2003 -0500, Grant Rutherford wrote:
I'm very new to PHP so somebody correct me please if this is a bad
idea...

I had the same problem and I ended up just including the second page at
the end of the first one:

<?php
// some stuff (output if necessary)

include 'nextpage.php';
die();
?>

Grant


On Fri, 2003-05-30 at 09:43, Rick Dahl wrote:
> The scripts I need to run before I redirect automatically send output to the browser. I cannot alter these scripts. Is there a way around this?
>
> Rick
--
Grant Rutherford
Iders Incorporated
600A Clifton Street
Winnipeg, MB Canada R3G 2X6
http://www.iders.ca
tel: 204-779-5400 ext 36
fax: 204-779-5444


This message is intended solely for the use of the designated
recipient(s) and their appointed delegates, and may contain
confidential information.  Any unauthorized disclosure,
copying or distribution of its contents is strictly prohibited.
If you have received this message in error, please destroy it
and advise the sender immediately by phone, email or facsimile.


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


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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux