RE: [PHP-DB] redirecting to a page
| From: | Hutchins, Richard | Date: | Fri, 30 May 2003 14:25:40 +0000 |
| Subject: | RE: [PHP-DB] redirecting to a page | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-28166@lists.php.net to get a copy of this message | ||
Redirect(www.mypage.com);
> -----Original Message-----
> From: Rick Dahl [mailto:dmbserver@hotmail.com]
> Sent: Friday, May 30, 2003 10:23 AM
> To: php-db@lists.php.net
> Subject: [PHP-DB] redirecting to a page
>
>
> I need to redirect to another page once some scripts that I
> can't alter run.
>
> I have this function at the top of my page:
>
> <?
> function Redirect ($url) {
> Header ("Location: " . $url);
> exit;
> }
> ?>
>
> How do I call the function?
>
> Rick
>