Any particular reason you don't just serve up the webpage as normal html
rather than as an image?

http://games.127001.org/tf2/motd.php

and yes I _know_ it's minimalist, that's coz I haven't had time to do
anything to it, not because of html limitations

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ronny
Schedel
Sent: 25 June 2008 17:14
To: Half-Life dedicated Linux server mailing list
Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2)


The PHP image functions sends the correct header content types.


> Ronny Schedel wrote:
>> We use normal PHP functions like imagejpg to ouput the images. I don't 
>> think
>> this function sends additional headers to prevent caching.
>>
> I suppose neglecting to change content-type from text/html to image/jpeg
> could affect client-side caching behaviour. I set content-type to
> image/png using header("Content-type: image/png") prior to calling
> imagepng and had to send additional headers to prevent tf2 from caching
> the image.
> ||
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, 
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> 


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to