Search found 3 matches
- Thu Mar 13, 2008 4:09 am
- Forum: PHP - Code
- Topic: shell_exec doesnot work from Browser
- Replies: 4
- Views: 228
Re: shell_exec doesnot work from Browser
<?php $cmd = 'set'; echo "<pre>".shell_exec($cmd)."</pre>"; ?> This php file give output is following BASH=/bin/sh BASH_ARGC=() BASH_ARGV=() BASH_EXECUTION_STRING=set BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="3" [1]="1" [2]="17" [3]="1&q...
- Thu Mar 13, 2008 4:05 am
- Forum: PHP - Code
- Topic: shell_exec doesnot work from Browser
- Replies: 4
- Views: 228
Re: shell_exec doesnot work from Browser
Thanks for giving me reply I run this scrpit on localhost and doesnt display on browser but on error log it display "mkdir: cannot create directory `/root/Desktop/haresh123': Permission denied" and my script is <?php shell_exec("mkdir /root/Desktop/haresh123"); ?> pls give me sol...
- Wed Mar 12, 2008 1:34 am
- Forum: PHP - Code
- Topic: shell_exec doesnot work from Browser
- Replies: 4
- Views: 228
shell_exec doesnot work from Browser
Hi everyone
I m lunux user and I have to use shell_exec from browser and i have made one script include shell_exec.Its wokring on shell but doesnot work from browser
So anybody can give me solution that what should i do for this.
Regrads,
I m lunux user and I have to use shell_exec from browser and i have made one script include shell_exec.Its wokring on shell but doesnot work from browser
So anybody can give me solution that what should i do for this.
Regrads,