Ok V@no, kill me softly babes! (I've done the hard work myself)
Now I have the clock in, my skype status works like a charm, but there is only one issue:
How do I reload the clock? I made clock script create a clock.png file every refresh of the clock skin file (
http://ciprianmp.com.plain.php - the png results in
http://ciprianmp.com/clock/clock.png)
Then I use the clock.png file in the signature.php:
//include_once('./plain.php');
$st = imagecreatefrompng("./clock/clock.png");
imagecopymerge($im, $st, 20, 90, 0, 0, 55, 55, 100);
The result is nice, but if I don't comment out the include line, this will happen:
- at first load of signature.php, only the clock is shown (as a result of the plain.php file included); it also creates the according clock.png file;
- at the next reload/refresh, the signature shows up correct.
The cycle starts over overy time, which is not what we need...
There is a better solution for this? I thought we might use a different script to generate de png file continously or every several minutes. (like a refresh page somewhere on the website). Could this be a solution?
Please give me the final hint...
As for the flags ... I wondered: Why should I tell my visitors which country are they from? Are they so stupid? Oh, if I could show them my country, that would make more sense, but at this point... I give up on flags in signature image...
PS: I found a misspelling in your signature.php file (line 352):
@fclose($hande);
...should really be:
@fclose($handle);