I have some old php code which I am trying to understand and can't find anything about some functions on the internet.
does anyone recognise the function fetch_POST ?
I assume it does the same thing as $_POST['VAR'];
What version of PHP is that from?
Thanks
old php code
Moderator: General Moderators
Re: old php code
There is no built-in function named fetch_POST. It must be a user-defined function. (The "user" here is the author of the PHP script.) Look through the rest of the code for the function definition, which begins with
Given the name, the function probably returns a filtered or sanitized value from the $_POST superglobal array.
Code: Select all
function fetch_POST