Pages: [1]
Guest

2005-07-14 06:20:57

This request results from the conversation in the FAQ "BOINCstats signature graphic" topic.

Could the BOINCstats signature graphic be changed to have a .png extension so that we can use it in avatars and signatures please?

Obviously on your server you would still use PHP but the filename we call would have a graphic file extension avoiding the problem with PHPBB not allowing graphics with .php extensions. I think there are a few other systems that are already doing this.

Once again, keep up the good work.
[BOINCstats] Willy
 
Forum moderator - Administrator - Developer - Tester - Translator
BAM!ID: 1
Joined: 2006-01-09
Posts: 9456
Credits: 353,172,950
World-rank: 4,968

2005-07-15 07:09:01

Have to look into this. This would mean parsing .png files by the PHP engine. And then all png files, also real images, would be parsed (which would not work very good).
Please do not PM, IM or email me for support (they will go unread/ignored). Use the forum for support.
Guest

2005-07-29 12:29:27

Willy: This is possible
Code:


$file = "Location of dynamic image";

$content = file_get_contents($file);

$newfile = "Location of where to write PNG file .png";

$open = fopen($newfile,"w+");

fwrite($open,$content);

fclose($open);





Im sure there would be a better way of doing it, but i hope that helps.
Pages: [1]

Index :: Comments and suggestions :: BOINCstats signature graphic - .png file extension
Reason: