Re: PHP redirect script
- From: FutureShock <futureshockx@xxxxxxx>
- Date: Fri, 12 Dec 2008 15:34:49 -0800
sheldonlg wrote:
Jerry Stuckle wrote:I think you are confusing 'your' way with 'my' way since I use the same syntax.....but go ahead and continue to use it, I won't mind.Hugh Oxford wrote:Xafke wrote:Hi..
I've searched hours on this, but found nothing. I need a script that
redirect a user by it's input. For example a users types 'Google' in
the form, than it will redirect to lets say 'http://www.google.net'
Or 'A NAME' redirect to 'http://www.anything.biz'
I like it in PHP and MySQL, because put it all in a file slows my
server down..
Also, I would like a free script.
Thanks!
header('Location: $location');
That will try to redirect the user to http://$location. I think you wanted double quotes around it.
... which is why I always write these as
header("Location: " . $location);
Never a confusion as to what is or is not expanded when doing it my way.
Scotty
.
- References:
- PHP redirect script
- From: Xafke
- Re: PHP redirect script
- From: Hugh Oxford
- Re: PHP redirect script
- From: Jerry Stuckle
- Re: PHP redirect script
- From: sheldonlg
- PHP redirect script
- Prev by Date: Need a S/W development company for a project
- Next by Date: Re: Need a S/W development company for a project
- Previous by thread: Re: PHP redirect script
- Next by thread: Re: PHP redirect script
- Index(es):
Relevant Pages
|