See www.php.net/passthru

Karam Chand wrote:

Hello

I have got an app wherein you need to pass a name as
the first parameter and it will output that is cout <<
a registraion code for my app based on the name.


I would like to give a web based interface wherein a
user can give his name on the form and I will be able
to generate the code from PHP.


I tried the commands - exec(), shell_exec() but none
seems to getting the output.


in the shell i execute it as - ./appname "karam"

the output is something like a223asas2323 ? How can i
get the output.


any ideas..

thanks in advance..

Karam

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to