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