View Full Version : PHP address.


zangerbanger
05-24-2003, 11:56 PM
How do you get your PHP page to have one of those URL's with all those question marks (?) and equal signs (=)? All of my pages are just filenames followed by the extension .php. I want my URL to be like this:

http://jordan.eternal-dreamer.net/index.php?v2=history

But I don't know how to get it that way. I can't save it like that because notepad doesn't let me do that :( . Please help!

kittycat
05-24-2003, 11:59 PM
I can't remember the actual name for it, some sort of inclusion thing... but I'm pretty sure there's a basic tutorial on how to do it at DNW (http://dodo.pitas.com), in the PHP section

Dude128
05-25-2003, 01:34 AM
I would suggest you read through a PHP tutorial on variables and such- that should explain those kind of URLs to you. it's used for sending variables and information to another page, which would then do something based on what's in the URL so if you link to page.php?var=blue for instance, it might then use that as the background color (just an example, you can use whatever you send to the page in whatever way you want)