Using a ? in the address bar

software development

#1

Hey,
I am just starting to teach my-self how to program with perl/cgi via book until school starts, and I am hoping to impliment the ? into the url of my cgi program.
EX: Woochoochinchilla.com/flash.cgi?name-of-game

I don’t even know if this has to be done by program, so sorry if I’m in the wrong place.

Any help will be greatly appreciated.

Brad Campbell
woochoochinchilla.com


#2

Everything after the question mark in a url is called the querystring. It is the set of variables passed to a server-side script page, to be used for whatever purpose. More than one of these are concatenated together using an ampersand. You’ll see them in the vast majority of urls nowadays. Whether they are generated programatically or entered manually depends totally on your particular use.

You might consider going to one of the major booksellers and grabbing an O’Reilly or QUE book for handy reference.

BC Tech
Team Shocker