Page 1 of 1

Gloab Variables??

Posted: Sun Feb 06, 2005 6:12 am
by giaCo
Hi There,

My probelm is that i have a php script that takes in a number of bits of information. This page then links to a perl script which uses some of the information and then to a final php scritp.

I need to be able to pass part of the info taken in the first page to the final php script, I do not have permission to alter the erl script to take it throgh there and pass it out the other side.

Would global variables solve this problem?? If so, how to i access the variables in the final script?

I assume they are declared by:
global $testVar;

Any help would be hugely appreciated as i am completely lost and under pressure to solve the probelm!

Thanks/

Posted: Sun Feb 06, 2005 9:33 am
by feyd
if the scripts are stored on the same domain, you can use sessions to pass the information.