Search found 4 matches

by tech.gsr
Wed Mar 25, 2009 9:44 am
Forum: PHP - Code
Topic: does exec() function execute the shell commands ?
Replies: 4
Views: 199

Re: does exec() function execute the shell commands ?

thanks jayshields and sory for that twice post.

i will check that and report to you.
by tech.gsr
Wed Mar 25, 2009 8:47 am
Forum: PHP - Code
Topic: does exec() function execute the shell commands ?
Replies: 4
Views: 199

Re: does exec() function execute the shell commands ?

hi, jayshields
thanks for reply

well php has its mkdir function. but actually i want to execute the linux shell commands in php file. and next thing Is there any permissions i have to provide to execute such things?

thanks
by tech.gsr
Wed Mar 25, 2009 7:52 am
Forum: PHP - Code
Topic: does exec() function execute the shell commands ?
Replies: 4
Views: 199

does exec() function execute the shell commands ?

Hi,

i want to create a directory with the function exec() on my server using shell command 'mkdir' when a custom.php file executes. i have written the following code in custom.php file. :banghead:
<?php
exec('mkdir hello');
?>

but it is not not creating the directory.

any help.....

thanks
by tech.gsr
Wed Mar 25, 2009 7:22 am
Forum: General Discussion
Topic: can exec() function execute the shell commands.
Replies: 2
Views: 466

can exec() function execute the shell commands.

Hi,

i want to create a directory with the function exec() on my server using shell command 'mkdir' when a custom.php file executes.
<?php
exec('mkdir hello');
?>

but it is not not creating the directory.

any help.....

thanks