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

rotation of avatars
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: rotation of avatars
This is one I knocked up myself...

code:
  $path = "http://mywebsite.com/";
  if($_GET['picture']=="avatar"){
     $av[17] = "avatar17.gif";
     $av[16] = "avatar16.png";
     $av[15] = "avatar15.png";
     $av[14] = "avatar14.png";
     $av[13] = "avatar13.png";
     $av[12] = "avatar12.png";
     $av[11] = "avatar11.png";
     $av[10] = "avatar10.png";
     $av[9] = "avatar9.png";
     $av[8] = "avatar8.png";
     $av[7] = "avatar7.png";
     $av[6] = "avatar6.png";
     $av[5] = "avatar5.png";
     $av[4] = "avatar4.png";
     $av[3] = "avatar3.png";
     $av[2] = "avatar2.png";
     $av[1] = "avatar1.png";
     $av[0] = "avatar0.jpg";
     header("Location: ".$path.$av[rand(0,count($av))]);
  }else if($_GET['picture']=="signature"){
     $sig[0] = "signature0.png";

     header("Location: ".$path.$sig[rand(0,count($sig))]);
  }

<Eljay> "Problems encountered: shit blew up" :zippy:
10-08-2007 03:32 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
rotation of avatars - by Jarrod on 10-08-2007 at 03:14 AM
RE: rotation of avatars - by Spunky on 10-08-2007 at 03:32 AM
RE: rotation of avatars - by WDZ on 10-08-2007 at 04:19 AM
RE: rotation of avatars - by Jarrod on 10-08-2007 at 04:30 AM
RE: rotation of avatars - by markee on 10-08-2007 at 04:37 AM
RE: rotation of avatars - by Jarrod on 10-08-2007 at 04:43 AM
RE: rotation of avatars - by prashker on 10-08-2007 at 05:51 AM


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