Help uploading .JPG


Posted on 16th Feb 2014 07:03 pm by admin

I have a problem with upload images when the ending is .JPG capitalized.. I really don't know what causes it to crash but been testing it for some time and it's my retrictions that won't allow it in. Also I'm experiencing that it sometimes deny to upload pictures if the height or width of that image is above 2000. Here's the code:

if(($_FILES[$Ufile]["type"] == "image/jpeg" ||
$_FILES[$Ufile]["type"] == "image/jpg" ||
Did you know?Explore Trending and Topic pages for more stories like this.
$_FILES[$Ufile]["type"] == "image/pjpeg")
&& ($_FILES[$Ufile]["size"] < 2000000))

Thanks in front^^
No comments posted yet

Your Answer:

Login to answer
70 Like 33 Dislike
Previous forums Next forums
Other forums

Bar charts using Graphical Framework.
I am using Graphical Frameworks(GFW) to create a chart Graphic . There is no problem with the data d

Restricted access to sub-folder in iis6 doesn't work?
Basically I'm trying to add restriction to sub-folder (which contains pdf) in web.config for iis6 as

why this query can delete duplicates ?
why this query can delete duplicates ? Anybody can give me the detailed explanation ?

Tha

how to validate date using javascript
I need to validate date in textbox using javascript..
The date is must be not greater than TODAY

Sending an SMS Message with ASP.NET
Often times it may be a requirement for your web application to send an SMS message. Such examples w

CU&UC guide
Hi Gurus,

can anybody provide me the link for CU&UC upgrade guide

Thanks i

Any help with my email script?
I have an email script, I have not tested it, although someone tested it for me and said it worked f

help with database debug pls
Parse error: syntax error, unexpected T_ELSE in /home/content/m/e/s/mesick/html/students/05/php/chec

Get content from table into a list, without repeating.
Alright this is kinda an odd thing, so I need some help.

I have a table "quote" wit

download directory onto C drive
I am attempting (if this is possible) to write a routine to automatically dump the contents of a dir

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash