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/
Navigation:
[Reply to this message]
|