[PHP] unlink() and safe mode....

2001-08-14 Thread Jan De Luyck
Hello I'm trying to do the following: allow a user to upload a file to a directory, and also allow them to delete that very file again. The uploading part works using http post, the file is saved with as UID the UID of www/www (on this particular ISP). Now, when I try to delete the filem I get a

RE: [PHP] PHP on client-side

2001-08-16 Thread Jan De Luyck
y get html back. I use php for scripts that run using crontabs on my servers, but I don't really think that PHP is usable in the same way as - for instance - JS or VBS. Jan De Luyck > -Original Message- > From: Tom Malone [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 16

[PHP] unlink(), safe mode, and other woes

2001-08-17 Thread Jan De Luyck
o be running on user www/www - thus the uploaded files are also owned by that user. Anyone got a clue? Thanks, Jan De Luyck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] stuck

2001-08-17 Thread Jan De Luyck
to get it out again, you need to use a for loop for ($i = 0; $i < count($uid); $i++) { echo $uid[$i]; ... } Hope this helps, Jan De Luyck > -Original Message- > From: Jeremy Morano [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 17, 2001 6:05 PM > To:

RE: [PHP] mail from

2001-08-20 Thread Jan De Luyck
You can set them using the header field in the mail function. Checkout http://www.php.net/mail Jan De Luyck > -Original Message- > From: PHP [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 20, 2001 11:26 AM > To: [EMAIL PROTECTED] > Subject: [PHP] mail from > &g