Line 1: $editFormAction is being set to the script's file name
Line 2: if a query string exists go to Line 3
Line 3: "?" and the query string is appended to the $editFormAction variable
If you're not sure what a query string is, look in the address bar on your web browser, you should see something similar to "topic.asp?TOPIC_ID=39208" everything after the "?" is a query string.
Lets say your file name is script.php, lets say your query string is "?cmd=run", your piece of code will set $editFormAction to "script.php?cmd=run"
$_REQUEST: An associative array consisting of the contents of $_GET, $_POST, and $_COOKIE.
$HTTP_SERVER_VARS: Is an array containing information such as headers, paths, and script locations.
|