checking upload is an image content type?

checking if file being uploaded is image content type?

Page 1 of 1

1 Replies - 2216 Views - Last Post: 30 September 2009 - 09:59 PM Rate Topic: -----

#1 XMEGA  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 135
  • Joined: 17-November 08

checking upload is an image content type?

Posted 30 September 2009 - 03:53 PM

how do you check the fileUpload that it is being an image uploaded? without hard coding checking for endings of .gif or .jpeg ect...?
Is This A Good Question/Topic? 0
  • +

Replies To: checking upload is an image content type?

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1633
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: checking upload is an image content type?

Posted 30 September 2009 - 09:59 PM

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: :code:

Thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1