nachopo
11-25-2002, 04:41 PM
hi!
I have a perl code that I need a help to make the following:
* if you select and option in this perl, it runs a PHP code. I also need to transfer two variables from this perl to this PHP.
any idea ?
regards
JustinH
11-26-2002, 03:29 AM
the only way that would be possible would be to strip out the php code from the perl code and run it from the command line:
'php -arguments'
If that is what you mean :-/
nachopo
11-26-2002, 09:05 AM
Originally posted by comphosting
the only way that would be possible would be to strip out the php code from the perl code and run it from the command line:
'php -arguments'
If that is what you mean :-/
hi!
and how I can send variables from cgi to this php
php -variable1 variable2 variable3 ?
regards
YUPAPA
11-26-2002, 11:10 PM
run from the command line?
qx(/usr/bin/php /path/to/your/script);
and I am not sure what u meant by sending variable to php... what exactly are you doing? :)
Tux-e-do
11-26-2002, 11:24 PM
If you want to bridge two language that otherwise don't talk to each other use a database to store variables so that both may read them, if you don't have a database write these to file using XML.
Ahmad
11-27-2002, 01:59 AM
You say select an option.
Do you mean it is a command line perl script?
BTW, you can write command line PHP scripts.