Forum Moderators: coopster
[uk.php.net...]
You would also want to add a count each time someone uploads an image so that you can restrict the amount of files a person can upload.
dc
you'd be amazed how many people upload 1 meg pictures that can easily be compressed to 50 kb
you'd be amazed how many people upload 1 meg pictures that can easily be compressed to 50 kb
No I wouldn't actually - they send them to me via email all the time! I'm more surprised when someone actually takes the time to resize an image. Most people don't have a clue about file size and some people don't even know how to figure out how big the file is let alone make it smaller.
Jon, if you're going to have lots of users uploading 10 pics each, maybe you should look into one of the off-the-shelf galleries like Menalto Gallery or Coppermine. Many shared hosts do auto-installs of both of those.
If you want to create directories for users look into the mkdir() function. Note this will not work if your server is running in Safe Mode.[uk.php.net...]
You would also want to add a count each time someone uploads an image so that you can restrict the amount of files a person can upload.
Jon, if you're going to have lots of users uploading 10 pics each, maybe you should look into one of the off-the-shelf galleries like Menalto Gallery or Coppermine. Many shared hosts do auto-installs of both of those.