Originally Posted by athrin
in my php page they ask the user to enter some input example like year. i want that input to be transfer into my .sh file and will show its output. how to send the data inside php into .sh file?
Based on your other threads, you've been pointed in the right direction several times, but don't appear to want to do the research on your own to move forward.
A very basic Google search on "php system calls" yields plenty of results. First hit is from the PHP.net manual site:
So write your bash script to accept a command line argument. Call it via PHP.