Re: Redirecting from unreachable page on website
| From: | Per Jessen | Date: | Thu, 22 Jan 2009 17:16:47 +0000 |
| Subject: | Re: Redirecting from unreachable page on website | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287018@lists.php.net to get a copy of this message | ||
Morris wrote:
> What if the file exists, but it's kinda file to update database, like
>
> // get request $_REQUEST
> // execute sql statement to update database
> // redirect to the other page, showing results?
>
> in this case 404 approach does not mean to do correctly, so what else
> is suggested?
I would use a 303 redirect, just like after processing a POST.
/Per Jessen, Zürich