Advertisement

07.15.2008 at 09:11AM PDT, ID: 23566645 | Points: 185
[x]
Attachment Details

Sessions across servers? Options

Asked by clankk in PHP Scripting Language

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&characters=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
[+][-]07.15.2008 at 09:39AM PDT, ID: 22008553

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.15.2008 at 09:48AM PDT, ID: 22008614

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 03:34AM PDT, ID: 22014606

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.16.2008 at 10:36PM PST, ID: 22973652

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11.16.2008 at 10:53PM PST, ID: 22973693

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906