Hi all, this is a thread where all of us can share different techniques and experiences in developing PHP apps that has something to do with the Unix shell scripts or vice versa (creating shell scripts to update PHP apps). These scripting/prog languages have a lot in common and yes, they're both powerful.
Well, as the thread starter, let me be the first one to ask.
How can you make a PHP app trigger a Unix script?
Alright for example, I have a shell script, named create_date.sh, which creates a file that contains a date(when it was triggered)..
so it's like when I trigger 'create_date.sh',
it will create a file 'time_1327_20060215.txt' (datetime when create_date.sh was triggered)..
Now, instead of running it on Unix, I want to trigger 'create_date.sh' through a PHP application,
for example, the app has a button labeled "Create Date", now this button will trigger the 'create_date.sh'
How can I do that? Thanks! 🙂