Re: [PHP] Permission Problems

2001-05-16 Thread Tomasz Piłat
John Vanderzwet wrote: > How can I create this file under the owner of 'zeus' so that > they can be deleted? Welcome to the unix permissions world ;-) Is for have root access: try to play with groups (nobody/httpd and zeus in same group) and umask and chgrp. [This is not a solution, this is a hint

Re: [PHP] Is there a better way to do this

2001-05-16 Thread Tomasz Piłat
Christopher Heschong wrote: > I'd use unlink("userfile1") rather than system("rm userfile1") just to be pretty. Or to be more secure :))) Poncki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

Re: [PHP] running a stand-alone PHP program

2001-05-16 Thread Tomasz Piłat
Nathan Cook wrote: > then you can run scripts by: > # /usr/local/bin/php /path/to/script/scriptname Or you can put: #!/usr/local/bin/php as a first line in your script, then % chown u+x yourscript % ./yourscript HTH, Poncki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-