Reply to Re: Upload image works fine unless image is edited first

Your name:

Reply:


Posted by Rik Wasmus on 09/05/07 18:20

On Wed, 05 Sep 2007 18:07:26 +0200, Erwin Moller
<Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> wrote:

> xx75vulcan wrote:
>> Ok I feel like a dope!
>> I didn't realize that editing a picture, even simply rotating it could
>> increase it's file size.
>> Upped the upload_max_filesize in php.ini and the hidden form field
>> max_file_size value and it works great.
>>
>
> Good.
>
>> Thanks a million for that neat debugging trick!

Ah, fileuploads gone array, check:
http://www.php.net/manual/en/features.file-upload.errors.php

> Yes, print_r() is very handy during debuggingsession.
> Whenever you are in trouble, just print_r() whatever it is you don't
> understand. Often helps.
> (Even used it on my girlfriend, but I didn't understand the output.)

Hehe, probably due to circular references :P
--
Rik Wasmus

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация