Hello all,
I am having difficulty picking up parameter to header() fucntion.
I downloaded the rfc2616 documentation, but it is so hard to hard.
Does any one know of any tutorials that can set me on my way?
More specificly, I want to know how to redirect the browser with certain variables. If you can give me examples, that would be awsome.
Thanks alot,
Hao
header()
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Code: Select all
header('Location: index.php?var=value&othervar=othervalue');
Last edited by John Cartwright on Tue Jun 14, 2005 6:46 am, edited 1 time in total.
And don't forget to encode your values
http://www.php.net/urlencode
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact: