Can PHP write into the address bar?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
voltrader
Forum Contributor
Posts: 223
Joined: Wed Jul 07, 2004 12:44 pm
Location: SF Bay Area

Can PHP write into the address bar?

Post by voltrader »

I have a hidden reference number embedded in a form. I would like to have this reference number passed to the url as a GET variable. Can PHP do this?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Use javascript... or of course just redirect if you have it stored as a var somewhere in your php code.
Post Reply