Found the problem! It's not hte file permission for those files you try to
work with. You have to go up one directory and set the file permission of
hte folder where those files are in and Viola! Weird? Isn't it?
Scott
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">
I decided to try your suggestion and I did have a response.
The response I got is ...
-- clip --
sh[2]: drwxr-xr-x: not found.
sh[3]: drwxr-xr-x: not found.
sh[4]: -rwxrwxrwx: not found.
sh[5]: drwxr-xr-x: not found.
sh[6]: -rwxrwxrwx: not found.
sh[7]: -rw-r--r--: not found.
sh[8]: -rwxr
Wait a minute! I checked the Apache Error Log and it said file access
permission do not allow the specified action. It can use the "cp" command
and the original file. But it can not create the new file as result of hte
copy command. Why is that? What are the way around?
Thanks,
Scott
"Sco
Hi!
When I use those PHP function, 1) "exec()", 2) "passthru()" and 3)
"system()", they don't work. I suspect that I would need to enter the
Environment Variable so I did the "putenv()" for the PATH, BASH, etc. But
still does not work. Check file Permission and so on. (Can't use fopen() to
create
http://www.php.net/manual/en/ref.exec.php
J
Scott Fletcher wrote:
> Hi!
>
> I wanted to know if there is a PHP code or function that would allow
> the
> PHP to issue the UNIX command.
>
> What I'm doing here is I'm trying to tell PHP to create a file by
> issuing hte UNIX command
5 matches
Mail list logo