Roman, > -----Original Message----- > From: Roman Neuhauser [mailto:neuhauser@xxxxxxxxxx] > Sent: 16 January 2007 4:53 pm > To: George Pitcher > Cc: php-general@xxxxxxxxxxxxx > Subject: Re: running exec() on client > > > # george.pitcher@xxxxxxxxxxx / 2007-01-16 15:18:50 -0000: > > > You do not need to have apache installed to run PHP you just need > > > PHP-CLI (Command Line Interface) > > > > Yes, I do know that, but what I want is for my colleague to follow a > > link on her web page that will trigger the php command, passing any > > required parameters. > > You probably don't want to do that, at least not when you can't install > a web server. Or was that ban Apache-specific? > > 1. Modify the PHP script to use $argv instead of $_GET/$_POST. > 2. Install the CLI SAPI. > 3. Write a small dialogue that prompts for whatever arguments using any > of the languages available on Windows (Python would be ok) and start > your PHP script from that, $argv populated from the form. > > Your colleague will see a usual buttons-sweet-buttons GUI application, > you will be able to reuse the PHP script. > > -- > How many Vietnam vets does it take to screw in a light bulb? > You don't know, man. You don't KNOW. > Cause you weren't THERE. http://bash.org/?255991 > I think it was any web server. Thanks for the suggestion - I'll have a look at that. Cheers George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php