Kurth Bemis wrote:
>
> when i put this
> header('location: $url');
>
> i get this
>
> http://domain.com/$url
>
> what the hell am i doing wrong?
>
erm,
header ("Location: $url");
[double quotes, so PHP will consider your dollars, yens or whatever]
--teodor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] header problems Kurth Bemis
- [PHP] Header problems Teodor Cimpoesu
- [PHP] Header problems Chris
- [PHP] header problems baldey_uk
- RE: [PHP] header problems Jason Murray
- [PHP] header problems Brent Clark
- Re: [PHP] header problems John W. Holmes
- [PHP] PHP5 xslt omit-xml-declaration Vincent Jansen
- RE: [PHP] header problems Jay Blanchard

