Dear Friends
I am a new bie for Linux and php. I just learning it with the help of various books.
I want to know how I can pass arguments to php script from command prompt.
For example: my php script should add two numbers that is given by user when he runs the script.
An example will help me to a great extent.
I am using Linux 9.00
This is why I want this script:
--------------------------------------
My practical need is to add a data to MySQL database, from a cobol program.
I felt i can call a php script from my cobol program passing the values to be merged in MySQL database, and the rest will be taken care by PHP script.
But I dont know how to pass values to php script when called by cobol program. I can do this if I know, how values are passed to php script when it fired from $prompt.
Like to learn more from this forum. Like to use this to a great extent
Jeyaraj