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&height=40&charac
ters=5" />
ON server 2(Image creation and security code scipt)
.........
header('Content-Type: image/jpeg');
imagejpeg($image);
imagedestroy($image);
$_SESSION['security_code']
= $code;
.........
Script works fine if all files are on server with GD extension, my only
problem is getting back the "$_SESSION['security_code'
] = $code;"
variable?
Start Free Trial