Reply to Re: Php Redirect? Or load a new page?

Your name:

Reply:


Posted by Mark Parnell on 09/08/05 10:24

Previously in alt.html, Nonee <None@none.com> said:

> I know there is a header("location: $filename");
> that could work but it doesn't. What am I missing and how can I do
> this?

Presumably you've already added .php to the filename.

header("location: ".$filename);

At the moment you're trying to send them to a file called "$filename",
which obviously doesn't exist. Short answer: don't quote the variable
name.

--
Mark Parnell
http://clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/

[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

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