PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old January 26th, 2005, 02:58 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 131
Best way to allow anything?

I don't care what members upload or how big it is. I can't guess what extensions or sizes they might try. What is the best way to short-circuit this?

Thank you.
StewardManscat is offline   Reply With Quote
Old January 26th, 2005, 03:05 PM   #2 (permalink)
Brian
Guest
 
Posts: n/a
Re: Best way to allow anything?

For the sizes and dimensions, just set them to an extremely high number. For extensions, you may just want to remove the check for these in the check_upload_errors() function (located in functions_gallery_imageedit.php). I wouldn't recommend that though unless you're positive that nobody would try uploading anything malicious.
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:12 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0