ay, February 05, 2002 12:21 PM
Subject: RE: [PHP-DB] File Uploading... Two problems...
> I believe when PHP saves a file, it is already owned by the web server
user.
> In my case, nouser. I could not get this behaviour to change.
>
> Normally you should not need to CHMOD or CHOWN anythin
es may be
useless... I save them as temporary files to resize them and save them in a
DB with the regular name with special chars stripped out.
JD
-Original Message-
From: Robert Weeks [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 7:19 AM
To: Todd Williamsen; [EMAIL PROTE
On 2/5/02 9:58 AM, "Todd Williamsen" <[EMAIL PROTECTED]> wrote:
> Now I have two small issues...
>
> 1. How would I automate the file naming otherwise errors will fly (can't
> copy file... blah blah)
You could replace the file name with a randomly generated number. There are
a number of ways to
I have been successfully able to upload the files to the server and its path
stored in the database..
Now I have two small issues...
1. How would I automate the file naming otherwise errors will fly (can't
copy file... blah blah)
2. The second part is the most annoying. It seems that I canno