Sounds to me like you could be killing your server with so many images being dynamically generated. How about keeping a set of pre generated images and use your php script to embed them into html (depending on whether the server is up or down).
You can for example create a large image in any graphic editing software (i use the GIMP) and cut it up into pieces and your php script and decide which server where shoudl have the active image and which server should have the dead images.
hope this doesn't sound too confusing
best regards raditha
Maciek Hofstede wrote:
On Fri, 30 January 2004 at 11:53:14 -0500, John W. Holmes wrote:
From: "Maciek Hofstede" <[EMAIL PROTECTED]>i'm writing a host monitor.
I have one problem,I've had my coffee now and I'm still confused. What are you trying to do?
i can't use 'text mode' exp:
echo "blah";
end 'image function'? exp: imagepng($rys);
Any idea?
I'm going to try more coffee.
image it's diagram generate from mysql, if i use imagestring or imagettftext web is too big, there is about 150
- 170 hosts, and i have generate image and put html descriptions:
<image>
host alive: ble ble ble
ble ble ble (statistic)
ps.sorry for my english ;(
-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php