I'm try to implement a CATCHPA script on a server that doesn't have GD
extension. So i'm calling a PHP script on another server to return the
image. Only problem is I need to return a variable along with the
image as below
On server 1(Without GD)
<img src="http:www.server1.com/image.php?
width=100&heigh t=40&characters =5" />
ON server 2(Image creation and security code scipt)
..........
header('Content-Type: image/jpeg');
imagejpeg($imag e);
imagedestroy($i mage);
$_SESSION['security_code'] = $code;
..........
Script works fine if all files on server with GD extension, my only
problem is getting back the "$_SESSION['security_code'] = $code;"
variable?
Thanks
extension. So i'm calling a PHP script on another server to return the
image. Only problem is I need to return a variable along with the
image as below
On server 1(Without GD)
<img src="http:www.server1.com/image.php?
width=100&heigh t=40&characters =5" />
ON server 2(Image creation and security code scipt)
..........
header('Content-Type: image/jpeg');
imagejpeg($imag e);
imagedestroy($i mage);
$_SESSION['security_code'] = $code;
..........
Script works fine if all files on server with GD extension, my only
problem is getting back the "$_SESSION['security_code'] = $code;"
variable?
Thanks
Comment