Write a file to disk with PHP
am 14.09.2007 10:47:51 von marco.minerva
Hi all!
Within my PHP page (on an Apache webserver), I must call a shell
program that saves a file to disk. The program is executed correctly,
but nothing is saved; I think this is a permission problem. I can't
modify the program, so there is a way to solve the problem?
Thanks in advance.
--
Marco Minerva, marco.minerva@gmail.com
http://blogs.ugidotnet.org/marcom
Re: Write a file to disk with PHP
am 14.09.2007 10:49:40 von gosha bine
On 14.09.2007 10:47 marco.minerva@gmail.com wrote:
> Hi all!
>
> Within my PHP page (on an Apache webserver), I must call a shell
> program that saves a file to disk. The program is executed correctly,
> but nothing is saved; I think this is a permission problem. I can't
> modify the program, so there is a way to solve the problem?
>
> Thanks in advance.
Append 2>&1 to your command line and look what it says.
--
gosha bine
makrell ~ http://www.tagarga.com/blok/makrell
php done right ;) http://code.google.com/p/pihipi
Re: Write a file to disk with PHP
am 14.09.2007 14:08:41 von Jerry Stuckle
marco.minerva@gmail.com wrote:
> Hi all!
>
> Within my PHP page (on an Apache webserver), I must call a shell
> program that saves a file to disk. The program is executed correctly,
> but nothing is saved; I think this is a permission problem. I can't
> modify the program, so there is a way to solve the problem?
>
> Thanks in advance.
> --
> Marco Minerva, marco.minerva@gmail.com
> http://blogs.ugidotnet.org/marcom
>
Set the appropriate permissions on the directory and/or file, as necessary.
Check a Linux admin group for more info.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================