You are here: Re: Getting image data as a variable « PHP Language « IT news, forums, messages
Re: Getting image data as a variable

Posted by Norman Peelman on 10/14/83 11:37

"Gnutt Halvordsson" <gnutt@shell.linux.se> wrote in message
news:RCVyf.154118$dP1.512537@newsc.telia.net...
> The problem lies in that I want to use database explicity for putting up
> images on a blogsite (i don't want to use the filesystem what-so-ever)
> (mostly to save myself from having issues with duplicate filenames, and
> when I delete one, both goes.)
>
> Image is loaded via a web-form, and are to be resized. Currently I save
> the images on a folder which everyone has write and execution-access to.
>
> Images are resized via the imagecreatetruecolor() and
> imagecopyresampled(), and then written to the filesystem. After that
> read into variables, which in their turn is written into the database.
>
> Is there any way for me the skip the filesystem-bit?
>
> Help much appriciated.
> //Gnutt

Yes, you can work directly on the $_FILE array as once the image is
uploaded it is already on the filesystem in a temporary folder.

Norm


--
FREE Avatar hosting at www.easyavatar.com

 

Navigation:

[Reply to this 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

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