RE: redirecting to a page

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

 



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:  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
> 

-- 
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