Why it is appeared again "Undefined variable $HTTP_POST_VARS" in code of th file "feedback. php." 1 ?...with $_POST too, Isset ( | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why it is appeared again "Undefined variable $HTTP_POST_VARS" in code of th file "feedback. php." 1 ?...with $_POST too, Isset (

There is notting *." txt "Abreviation now?! https://code.sololearn.com/wpitxDf3Fbb0/?ref=app isset () is forbidden too PHPcompiler has inscripted and ins inscripted ted need null ! ==expression.

11th Apr 2019, 11:51 AM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
4 Answers
+ 4
$HTTP_POST_VARS IS NOT AN SUPERGLOBAL WHICH MEANS ITS SCOPE IS LIMITED TO LOCAL THUS TRY USING $_POST WHICH IS AN SUPERGLOBAL WITH GLOBAL SCOPE
11th Apr 2019, 12:50 PM
Gursharan Singh
Gursharan Singh - avatar
+ 4
THE ERROR NOW BEING SHOWN IS BECAUSE OF THE FACT THAT THEIR IS NO ELEMENT WITH NAME, for eg. name, BUT IT CAN BE REMOVED BY USING if (isset ($_POST ['name'])){ $name = $_POST ['name']; } With each $post use This way isset () function checks a variable to be not to be null and only returns true if variable have some value
11th Apr 2019, 2:52 PM
Gursharan Singh
Gursharan Singh - avatar
+ 2
And I've replaced but situation is the same.
11th Apr 2019, 2:12 PM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
+ 2
ERROR:isset() IS FORBIDDEN! compiler has inscripted and is written null! ==expression need. But now: parse sintax ERROR " ;"
12th Apr 2019, 8:02 AM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar