Re: Execute a linux binary that generates a registration code...

From: Date: Thu, 04 Dec 2003 10:11:22 +0000
Subject: Re: Execute a linux binary that generates a registration code...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-171792@lists.php.net to get a copy of this message
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/


« previous php.general (#171792) next »