What is shell, am i thinking of the right thing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
phpnovice
Forum Commoner
Posts: 25
Joined: Mon Feb 02, 2004 6:47 am
Location: england, london

What is shell, am i thinking of the right thing

Post by phpnovice »

ok so i have a web server and on it a website (round of applause) you can upload a .wav file as a binary on the website which is stored in a mysql BLOB. now i want to pass the sql result to an encoder available on the web server. the encoder runs from the command line like so encoder -p password -t text file -d .wav file;

Now someone mentioned writing a shell script that will run when the user clicks a link, i dont have a clue how to use shell scripts, so if anyone out there can inform me if this is the right thing and maybe direct me to a good tutorial it would be appreciated.

All advise welcome!

James
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

[php_man]exec[/php_man] or [php_man]win32api[/php_man] (if your a windows type of guy).
Post Reply