Jump to content

Klaus_Lo

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Klaus_Lo

  1. Hello! Help me please! My site nice work on php version 5.2.12, but now php version is changed to 5.2.17 and some code is not working. It showing error: "Notice: Undefined variable: newCode in ....../humancheck.php on line 29" In file humancheck.php on line 29: for($i=0; $i<$config_max_digits;$i++) $newCode = $newCode.rand(0,9); This variable, it seems, taken from another file - humancheck_showcode.php: session_start(); $newCode = $HTTP_SESSION_VARS["newCode"]; And, in index.php file at the beginning of the file written: require ('human_check/humancheck.php'); And, in index.php file below is written: <IMG src="humancheck_showcode.php"> When I call the index.php file it shows error. So, I think, that variable "newCode" should be taken from file humancheck_showcode.php, but it don't do that.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.