What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » General Chit Chat » Edit a sig for me? Identify a font to?

Edit a sig for me? Identify a font to?
Author: Message:
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: Edit a sig for me? Identify a font to?
download http://random.thedt.net/imagemagick.class.phps rename it as a php file and upload it somewhere on your server then run it.
it should create a file called "texttest.gif" which will look like
[Image: texttest.gif]

if that works tell me and ill keep working on getting your signature to work :P

edit:

pfft i went ahead and made one that works.
should update every 60sec.

also your christmas.gif must be in the same directory

the font and stuff can be changed but i didnt know what you wanted.

code:
<?php


if(file_exists('signature.gif')){
$modifiedTime = time() - filemtime('signature.gif');
if($modifiedTime<60){
outputFile();
exit;
}
}

$to_go = mktime(0, 0, 0, 12, 25, 2005) - time();

$days = ceil($to_go / (60 * 60 * 24));
$hours = ($to_go / (60 * 60)) % 24;
$minutes = ($to_go / 60) % 60;
$seconds = $to_go % 60;


$str = $days . " " . ($days == 1 ? "day" : "days") . ", " . $hours . " " . ($hours == 1 ? "hour" : "hours") . ",";
$str2 = $minutes . " " . ($minutes == 1 ? "minute" : "minutes") . " and " . $seconds . " " . ($seconds == 1 ? "second" : "seconds");


$cmd = <<<eot
convert   christmas.gif -coalesce -gravity northwest  -fill black -draw "text 325,40 '$str'" -draw "text 325,50 '$str2'" -draw "text 325,60 'till christmas'" -deconstruct signature.gif
eot
;


exec($cmd);
outputFile();


function outputFile(){
header("Content-type: image/gif");
echo file_get_contents('signature.gif');
}

?>



example of code... (mine updates every 240sec though)

[Image: rebalsig.php]

This post was edited on 09-18-2005 at 12:30 PM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
09-18-2005 06:57 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Edit a sig for me? Identify a font to? - by RebelSean on 09-18-2005 at 01:44 AM
RE: Edit a sig for me? Identify a font to? - by matty on 09-18-2005 at 02:38 AM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-18-2005 at 02:48 AM
RE: Edit a sig for me? Identify a font to? - by -dt- on 09-18-2005 at 03:45 AM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-18-2005 at 04:12 AM
RE: Edit a sig for me? Identify a font to? - by WDZ on 09-18-2005 at 04:23 AM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-18-2005 at 04:42 AM
RE: Edit a sig for me? Identify a font to? - by -dt- on 09-18-2005 at 05:01 AM
RE: Edit a sig for me? Identify a font to? - by dotNorma on 09-18-2005 at 05:06 AM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-18-2005 at 05:09 AM
RE: Edit a sig for me? Identify a font to? - by -dt- on 09-18-2005 at 06:57 AM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-18-2005 at 04:37 PM
RE: Edit a sig for me? Identify a font to? - by -dt- on 09-19-2005 at 05:41 AM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-19-2005 at 10:38 PM
RE: Edit a sig for me? Identify a font to? - by Ash_ on 09-19-2005 at 10:51 PM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-20-2005 at 09:05 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On