cheekymonk3y
02-05-2007, 08:40 AM
The simpliest way that I can put what I want to do is: To throw a variable at an external file when i execute that variable. Here is an example:
File 1: a.php
$z = 'drupal';
File 2: b.php
print $z;
Now how would I submit $z to b.php by executing a.php in shell. I know how to execute a.php, I just dont know what code I must add to get $z "thrown" at b.php.
Please help, if i manage to do this, it will quite literally save me MONTHS of work. And you'll also be my friend forever.
Regards
Cheeky
File 1: a.php
$z = 'drupal';
File 2: b.php
print $z;
Now how would I submit $z to b.php by executing a.php in shell. I know how to execute a.php, I just dont know what code I must add to get $z "thrown" at b.php.
Please help, if i manage to do this, it will quite literally save me MONTHS of work. And you'll also be my friend forever.
Regards
Cheeky