Update img.php
This commit is contained in:
parent
fd62f1fb44
commit
3a5bcc7c2f
|
|
@ -29,7 +29,7 @@ error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ); //hide notices and warnings
|
|||
|
||||
//start the session
|
||||
ini_set("session.cookie_httponly", True);
|
||||
session_start();
|
||||
if (!isset($_SESSION)) { session_start(); }
|
||||
|
||||
// Captcha verification image -----------------------
|
||||
// Description this page is used to verify the captcha
|
||||
|
|
@ -121,4 +121,4 @@ header("Content-type: image/png");
|
|||
// Using imagepng() results in clearer text compared with
|
||||
imagepng($im);
|
||||
imagedestroy($im);
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue