Jump to content


image uploading


  • You cannot reply to this topic
1 reply to this topic

#1 darkson01

    Young Padawan

  • Members
  • Pip
  • 114 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Gfx, skateboarding, playing guitar, listening to punk music and flash!

Posted 21 February 2007 - 12:45 PM

hey i have a image uploader and it works fine. was woundering:
1) how i can make it so it searches to see if a file of the same file name exsist and if so lets the user re-name the file before uplaoding it.
2) set a file size limit?

cheers!

Edited by darkson01, 21 February 2007 - 12:45 PM.


#2 _*Creative Insanity_*

  • Guests

Posted 21 February 2007 - 01:03 PM

You can set the limit in your php.ini file.
Just place an php.ini file where the script executes with the line:

upload_max_filesize = 5M

Edited by Creative Insanity, 21 February 2007 - 01:04 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users