Manipulating images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

we use here a script to convert our users' photos into thumbnails using the functions imagecreatefromjpeg(), imagejpeg() and others. Later we found out that we could simply use a tag like the one below, since the photos are thumbnails nowadays.
"<"img src="<"?=$code.'-'.$digit?">".jpg width=80 /">"

But using a tag like that has become a new problem, because the web server stops working properly after some time (some DLLs errors, Apache stops continuously and then stops permanently, having to restart the web server). We suspected that the problem was in the fact that some users hadn't taken the photo previously and the accumulation of the error "file not found" was generating this problem, so we used the is_file() function, but the problem continued. When PHP 4.4.1 was released the "corrupt jpeg" bug #34704 was fixed, so we installed it, but the problem continued.

We actually don't what could be freezing the Apache, so we are still using the "resize" script, which is useless and takes memory and CPU usage from the webserver.

Our current scenario is:
Windows 2003
Apache 2.0.54
PHP 4.4.1
Sun Chili!Soft ASP 3.6.2

Any help would be appreciated,
Marcos R. Cardoso
FURB
Brazil

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux