Here is the code….
if(!(isset($_POST["email"]) && isset($_POST["sessionKey"]) && isset($_POST["page"]) && isset($_POST["ipp"]))){
return;
}else{
$email = htmlspecialchars($_POST["email"]);
$sessionKey = htmlspecialchars($_POST["sessionKey"]);
$page = htmlspecialchars($_POST["page"]);
$ipp = htmlspecialchars($_POST["ipp"]);
}
ok, the idea is I MUST assign the parameter with the same variables. For example, if I post a parameter “test” , I must assign this to a variable …. test… …Is there any short cut for me to doing something like this? Thank you.
Be careful with extract this can override your existing variables with same name but you can change this behaviour by passing additional parameter to extract function.