| 
	
 | 
 Posted by Rik on 02/19/07 18:52 
On Mon, 19 Feb 2007 13:40:35 +0100, 2291980 <stephenhbdev@gmail.com> wrote: 
 
> Hello 
> 
> can any body tell me the dff between 
> function redirect($url) 
> and 
> header("Location $url") 
 
Like the others already said, and keep in mind a lot more visitors to your   
site will support a header redirect then a javascript redirect, for   
instance searchbots. That's not to say they will all obey: just as   
javascript, following redirects is left to the browser, and a lot of them   
have settings to either follow or not. 
 
> syntex belong to php 
 
To the HTTP protocol. 
--  
Rik Wasmus
 
  
Navigation:
[Reply to this message] 
 |