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.
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.
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: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:Then just use http://yousite.com/rotator.jpg and you’ll be good to go.
Hope you understand that. 🙂
i have only one problem, i upload the rotator.php and work but… the file .htaccess i write Redirect rotator.jpg http://www.sombrarotator.host.sk/rotator.php and upload but not work. what is the problem? example:
http://www.sombrarotator.host.sk/rotator.php this work
http://www.sombrarotator.host.sk/rotator.jpg dont redirect.. 404 url
Try putting a slash in front of “rotator.jpg”, like this: /rotator.jpg
That work?
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.
That’s why we made http://www.sombrarotator.host.sk/rotator.jpg — use it rather than .php. 😉
yes i test posting the [img]www.sombrarotator.host.sk/rotator.php[/img] but the forum says not allow .php only jpg,gif,png ect and posting another says dynamic… ect.
how to fix this? i think need http://www.sombrarotator.host.sk/rotator.jpg for work..
Yes, this is what http://www.sombrarotator.host.sk/rotator.jpg is for.
Are you sure you did the redirect correctly? Try reading this page.
If that doesn’t work, contact your host. They may not allow redirects.
one friend says me writing in the .htaccess file
now i can post my sign!, but need use the “/rotator.jpg”.., but is = the url dont see. 😛
thank for all 🙂
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):
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
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?
No, but there are plenty of websites out there that offer free PHP hosting.
My host does for example: http://hostrocket.com/free/
🙁
I wish I could get an invitation. I really like your image manager
Try Jeremy Yak’s Image Rotator
Ah ha.. thanx ViperBond.. Just to let you know, i really enjoyed your service… Thanks!!!
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
Hey, loved your rotator Viperbond. Sorry to see it disappear!
dam, hope it comes back up again…
Damn viper, I think we’d need to talk. I like this idea. Maybe we can work something out, like distributed loads or something. 🙂
Heh, bug me when you next see me on IRC. 🙂
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~
@ 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…
The new version I was coding was going to have a cap of like 250 (basically infinite). :/
So… any chances of me getting to use it??? I only use it for a forum, ie. Clubbleach…
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. 😉
Well, yes, but, ok, I ll give it a go thanks…
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
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. :/
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?
All it was was a basic user account system that used MySQL. If you know PHP, it should be easy enough to code. 😉
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?
Nah, there was no folder. It was fake and redirected to a PHP script:
Ah thanks, that makes sense now! =P
Might have a go at making my own later. Should be fun.
damn….dats sucks viper ur site was a big ass help…..wen you gonna start another one up?
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.
thorne on December 22nd, 2006 at 1:40 PM wrote:
My stupid blog software is adding in <p>’s where it shouldn’t.
Here you go: http://thorne.pastebin.com/843506