Hello all.
I am new in php programming and i have a problem. I would like to make a function to read the inserted data in URL and insert it in an array to use it in my program.
I have writted :
reset($POST);
foreach ( $POST as $key => $value ){
$data[$key] = htmlspecialchars($value);
}
$Login=$data[Login];
if ($Login == "") { echo "Write a Login!"; exit(0); }
I get only this error message in the last line "Notice: Use of undefined constant Login - assumed 'Login' in C:\Programmi\Apache Group\Apache2\htdocs\nuovo utente.php on line 26". I am using apache with windows sistems but i will transfer all in a native linux machine 🙂
Someone can help me?
Thank you very much