What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Combonation Outputter ?

Combonation Outputter ?
Author: Message:
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
RE: Combonation Outputter ?
code:
for($i = 0; $i < 100000; $i++) {
   print ensure_len($i, 5) . "\n";
}

function ensure_len($num, $len) {
   $num = (string)$num;
   while(strlen($num) < $len) {
      $num = "0" . $num;
   }
   return $num;
}

That's a simple PHP script to do it... Shouldn't be too hard right:S
05-31-2006 02:18 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Combonation Outputter ? - by banky on 05-31-2006 at 07:16 AM
RE: Combonation Outputter ? - by Ezra on 05-31-2006 at 01:55 PM
RE: Combonation Outputter ? - by J-Thread on 05-31-2006 at 02:18 PM
RE: Combonation Outputter ? - by WDZ on 05-31-2006 at 04:17 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