ThWboard Support-Forum (Archiv)

Ort: / Boardübersicht / Vorschläge / Umschreiben: Statistiken in einem Signaturbild


<< vorherige Seite – Seite 2 von 2

fingers schrieb am 26.05.2005 um 16:25 Uhr

OK,
that is easy peasy!
just save to file instead of display image as script in first post shows

header("Content-Type: image/png"); 
Imagepng($im,'',100); 
ImageDestroy ($im);

to eg

// display the resultant image $im
//header('Content-type: image/png');
imagepng ( $im ,"drive:/www/directory/file_name.png" ); //win32
imagepng ( $im ,"/www/directory/file_name.png" ); // nix + permissions for cron
//imagepng($img;   
imagedestroy($im);

then use cron to run the php script on your server and then use the other sites [img] tags to display YOUR sites image from it's url
[code]http://www.yoursite.com/directory/file_name.png
[/code] done!

<< vorherige Seite – Seite 2 von 2