You are here: Re: Redirecting URL ID's using PHP « All PHP « IT news, forums, messages
Re: Redirecting URL ID's using PHP

Posted by Michael Fesser on 06/16/07 13:17

..oO(Sebastiaan 'CrashandDie' Lauwers)

>So why, oh why, instead of playing ping pong with header requests, don't
>you guys learn to properly use redirects ?

header('Location: ...'); is a redirect.

>header ("Location:") is waaay overrated

Not if you know what it does and how to properly use it.

>just include the correct file,
>and you'll be fine, and if you're not, you coded the website like an
>idiot...

If he wants to redirect some old URLs for example then just including
"the correct file" doesn't help much.

But in fact the OP didn't gave enough clear informations about what he
really wants to do. There might also be better ways using .htaccess
mechanisms.

Micha

 

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

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