Avatar.Viper007Bond.com Killed

Sorry, but I’ve had to kill my public image rotating script. So far this month, it had gotten over 180,000 hits (in the whole last month, only 140,000 hits were made) which resulted in WAY too many open connections to the site at once. While that was very little bandwidth, it was still way too many people trying to access the script at once and my host had to kill it as it was starting to affect other people on my shared server.

It’s a real shame too as I had already completed about 1/2 of the complete recode of it. Perhaps one day I’ll bring it back up as an invitation only service for use on non-high traffic sites, but not for now (busy with other things).

And for those who have no clue what I’m talking about, I had a script located at http://avatar.viper007bond.com/ where after signing up, you could enter the URLs to some images hosted elsewhere. Then you’d use a URL given to you by the script as your avatar or sig on forums and my script, when called, would redirect people to one of your URLs. Basically, it was an image rotator.

Sorry guys.

37 thoughts on “Avatar.Viper007Bond.com Killed

  1. i dont speak more english, i like says you, it you can post the code use in Avatar.Viper007Bond.com, and the people can donwload your great code and use in free hosting.
    this form your host dont have more use and the people can manager the site 🙂

    sorry for my bad english, i think you can understand me.

  2. Well, my code wouldn’t work too well publicly, but here’s some simple PHP to get the job done. Just put it in a file (say rotator.php) and put it on your site:

    <?php
    
    // Set all of your image URLs here
    $images = array(
    	'http://www.google.com/intl/en/images/logo.gif',
    	'http://us.i1.yimg.com/us.yimg.com/i/ww/beta/y3.gif',
    	'https://149354850.v2.pressablecdn.com/wp-content/themes/neat_1024/images/header_1024.jpg',
    );
    
    header('Location: ' . $images&#91;mt_rand(0, count($images) - 1)&#93;);
    
    ?>

    Then, since many forums don’t allow images ending with “.php”, setup a fake URL. Just add this to a .htaccess file located in the same folder:

    Redirect rotator.jpg http://yousite.com/rotator.php

    Then just use http://yousite.com/rotator.jpg and you’ll be good to go.

    Hope you understand that. 🙂

  3. yes work, “www.sombrarotator.host.sk/rotator.php/rotator.jpg” but another problem :(, the forum says Sorry, dynamic pages in the [IMG] tags are not allowed.

  4. one friend says me writing in the .htaccess file

    +FollowSymlinks
    RewriteEngine on
    RewriteRule rotator.php rotator.jpg
    

    now i can post my sign!, but need use the “/rotator.jpg”.., but is = the url dont see. 😛
    thank for all 🙂

  5. Yes, that’d work if your server has mod_rewrite enabled.

    And try this rewrite rule instead perhaps (I think your friend has it backwards):

    RewriteRule ^rotator.jpg$ rotator.php [QSA,L]
  6. Hey Viper, Glad ive finaly found your personal website 🙂

    Loving some of your stuff on here, going to go stick the video plugin on a couple of my sites

  7. Well, viperbond, its a real shame that its gone coz i was enjoying it SO much!!! Like i was one of a few ppl who actually have a proper rotating sig. And it worked really well…

    I ll try to create my own, however, I dont have a website… Would a blog page work?

  8. its too bad because the rotator was one of the best I used, and I only used a few. I did use it for a while and I hope it can come back one day

  9. Damn viper, I think we’d need to talk. I like this idea. Maybe we can work something out, like distributed loads or something. 🙂

  10. I do not appreciate the idiots who tried to XSS attack my Image Rotator.
    I know they came from here, and I don’t understand what you would have accomplished anyways lol. It’s ok, they were both noob hackers 😛
    ~Jeremy~

  11. @ Jeremy: I was accessing your Sig Rotator and desfinitely was most interested in it… Altho, you only allow 5 different sigs!?! Viper had up to 50!!! lol…

  12. It’s only like 1/4 done and it’s going on the back burner now due to this and because I want to get the new theme for my site done plus some other coding.

    Just sign up for some free PHP hosting and see the above code snippets. 😉

  13. Hey, any chance of you releasing the code you actually used? The part you showed up there is great for a single user, but I’d like to be able to offer the same service as you did on my server, at least for users of my forum.

    Thanks
    ~Audigex

  14. No, the code was horrible. It was really poorly coded and was written when I was first learning PHP many years ago.

    As for the recode I was working on, all that’s done is the GUI, so that wouldn’t be of much use to you either.

    Sorry. :/

  15. But could you possibly post it anyway? I’d like to be able to see it, and possibly redo it if needs be. If nothing else it’d be a good learning exercise for me to play with it for a while =P

    Pwetty please?

  16. Yeah, but I was more wondering how you set the .htaccess for each user, to make the image redirect to the script: or can you set it so any image in the folder redirects there?

  17. That sig rotator u showed doesnt work. i need one for a forum and i dont have a site to upload it onto. i only use imageshack and i cant upload that with it.

Comments are closed.