Reply to Re: imagecreatefromjpeg, calling a .php file

Your name:

Reply:


Posted by Chung Leong on 04/16/06 18:15

Areric wrote:
> Ok all. I have a series of images stored in a db. Im trying to work on
> a script that will let me scale them based on user input. Ive hit a bit
> of a roadblock on this line.
>
> $orig =
> imagecreatefromjpeg("DisplayImage.php?imageId=".$this->mImage->GetImageId());
>
> Specifically it cant sopen that file.
>
> DisplayImage.php is pretty simple, it just displays an image from the
> db without writing to a file.
>
> Im thinking the problem is in how im pathing to DisplayImage.php.
>
> This file sits one level lower than most things so it should be
> ../displayImage, but i tried that and no luck.
>
> Any ideas whats wrong with that line?

Why don't you just read from the database directly and use
imagecreatefromstring()?

[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

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