Jump to content


Photo

idea for file screening


  • Please log in to reply
2 replies to this topic

#1 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 16 June 2006 - 05:55 PM

I have started on my script, and set up my basic error handling, and at this point I have decided what I am going to do about screening filetypes.
What I am going to do is create an array of file types I am accepting(I was going to do one of ones I wasn't but there are too many to list),
so I am putting the files on the server in a folder instead of in the database. So I will work on all that when I get there, I have to take into account, I am unsure whether to have the files as downloadable links, or embedded in the page so they can be immediately viewed, heard or whatever. I want some advice on waht file extensions I should accept, I have some of them together so far, but any here you think I should take out or add, would be a great help.
Or ones you might know i would encounter severe difficulty with handling once I get them uploaded.
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]$_accepted_extensions = array('.mpeg', '.mpg', '.mpe', '.wav', '.avi', '.mid', '.midi',[/quote]
I will probably have more in there by the time this comes around, but any advice would be greatly appreciated. thanks.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#2 jvrothjr

jvrothjr
  • Members
  • PipPipPip
  • Advanced Member
  • 300 posts
  • LocationOhio

Posted 16 June 2006 - 06:36 PM

Without an idea of what you end goal is its hard to set all ext you will take.

you could have

TIF, GIF, BMP, TIFF, JPG, JPEG, PNG for graphics

PDF for general viewing

I would set a max file size also or else you could run out of space really fast.

As far as links ver's imbedded ..... this is based on really your user group dial-up users would like links as for broad-band imbedded would be great if your website is monitered for bandwidth usage links would be better.


If you understand everything you know nothing!

http://rcchjr.awardspace.com/

#3 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 16 June 2006 - 06:38 PM

Links as in a place for the file to be clicked on and downloaded to there computer right,

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users