You are here: Re: can any body tell me the dff between Rredirect through javascript & header « PHP Programming Language « IT news, forums, messages
Re: can any body tell me the dff between Rredirect through javascript & header

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация