I try to pass argument to shell script with PHP
It not work!
I try
<?
shell_exec("mk_dir.sh /home/test");
?>
on PHP
and
#!/bin/sh
mkdir $1
on shell script
Shell can work console but not work when I run with PHP
What wrong with me?
and what should I do?
or I need to setup something on my RH9 server ?
pls tell me thank