you know when there's a script that does more than 1 action by using only one file? the url looks kinda like: http://site.com/file.php?action=echo
I know that when theres a "?" sign, it means that the following field (action in this case) becomes a variable and after the "=" is the value of it. but how would having a variable get you to do a different action?
take this example:
I just download an upload script. It contains 2 files, the first is config.php wich has misc. variables and their values and the second is upload.php. when you click on "Upload" on the form, the url becomes upload.php?upload=doupload and it acts as a "different page".
can someone explain to me how this function is used and what it is?
thank you