James Keeline wrote:
>
> --- Waqas Habib <[EMAIL PROTECTED]
> > I have an .sh file and i want to run it from my php script, how can
> i do it.
> > I did use the function shell_exec, exec but it does not show working.
> >
> > e-g
> >
> > shell_exec("./abc.sh")
> >
> > Any help..?
> >
> > -Waqas Habib
-----------------------
> Many servers are configured to not allow execution of Bash scripts
> from the web
> space. You will have to move it outside the web space and give a full
> path in
> a command like shell_exec().
>
> James
>
--------------------------------
Maybe if you run:
shell_exec("/bin/sh abc.sh");
or
shell_exec("sh abc.sh");
Try it.