Hi There,

Can anyone explain to me this line of code? What is it used for? etc.. $HTTP_POST_VARS['command'] The text that I saw it in doesn't explain it...

Hi There,

Can anyone explain to me this line of code? What is it used for? etc.. $HTTP_POST_VARS['command'] The text that I saw it in doesn't explain it...

It's a variable contained in the super global array array $HTTP_POST_VARS for php versions prior to 4.1.0.

"command" in this case, is just a variable named: command, which would be passed back to the script from some web page using the http post command.

Lookup: $HTTP_POST_VARS in the php manual.

Darrell

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.