the command you are referring to, is it the directory path to the shell script. in this case, i put the "spiralsconfig.sh" in the D:/software/spirals. the php script which ii named as "test.php" is in the D:/public_html.
therefore,i just have to type in:
<?
echo system (D:/software/spirals)
?>
or
i have to put the shell script in the same directory as "test.php" and run it from there.
<?
echo system (spiralsconfig.sh)
?>
My knowledge in web programming is very tiny as i just started doing web programming.
whats the difference when you want the php-script to stop while you run the shell-skript and when you want the php to fork a shell and continue on.
The shell script (spiralsconfig.sh) i have, will call another program which is called "spirals.cpp".
and this spirals.cpp will do calculations and produce a new file. this new file will be stored in the same directory where the "spiralsconfig.sh is run.
so are you saying that when i used passthru the shell script will not call the spirals.cpp??