Reply to Re: What's wrong with header = ('location: pagename.php') ?

Your name:

Reply:


Posted by Rik Wasmus on 10/04/07 06:51

On Thu, 04 Oct 2007 08:45:30 +0200, celalo@gmail.com <celalo@gmail.com> =
=

wrote:

> just write
> header ('location: index.php');
> instead of
> header =3D ('location: index.php');
>
> header is a function not a variable. dont get confused with the
> $headers variable you used. They are tottally different.

Actually it should be:
header ('Location: http://www.example.com/index.php');

Allthough by the grace of UA's they normally use the current domain, thi=
s =

is not in the specs.
-- =

Rik Wasmus

[Back to original 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

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