Discussion in 'Noob Central' started by bumpies, May 27, 2011.
Does anyone have one of these?
cbf manually typing in hundreds of IPs...
Ok, I tried pasting the code here but it didn't work so I am attaching the file to this post instead.
It's a quite simple script that will return the IP, domain and SenderScore - Simply replace xx.xx.x.xxx with your IP addresses.
If anyone wants to improve on it, please do and share
Thanks for sharing 'Tiki! And FYI - Bubbles is "supposed" to be working on one that'll be Windows based.
Hey! This is pretty sweet! Thnx
nice one, thank
Nice upload. I'm not a programmer, but is there any way you could replace lines 50-63 and have it read from a flatfile? That way we can just dump them in the file as needed and not have to edit vars in the script? If my VA can do it tomorrow, I'll upload the change myself, but if you read this beforehand and it's an easy fix, might be handy!
Ok, tried my best at this, if it's fubar, don't hate, just report bugs..
Have a file called IPs.txt in the same directory as the senderscore.php file and it should find/report all the data.
Thanks Wolfe, it is much more user-friendly this way!!!
+Rep for you Asiatiki
Thanks XT !! :wink:
You're welcome, well deserved.
Nice guys Rep+1 for both asiatiki & Wolfe :3some:
I realize SS caused some bugs in my script recently. Having it redone, will release when I'm back from Spain on the 25th of August.
Nice script Wolfe, I have my own similiar scripts that I will post here just to give people a small web application to track their ips.
This app records all scores in a database, and checks to make sure the ip hasn't been crawled already that day. Its set up for a database table of ips, another for scores and you can track the score for each day and display a listing of all your ips / domains. I'll add a date search to show you the scores from that day.
Adding domain names associated with an ip is for display purposes, as the page that lists your ips and scores will sort by the domain name (if you enter them).
All you need to set this up is a mysql database, and edit the senderscoreconfig.php file to enter the database settings. The script will automatically create the tables for you. If you want to upload files of ips, you will also need to make the upload directory I put in zip package writable (chmod 777 in unix). This is optional, as you can also copy and paste a list of ips in to a web form, and have them entered in to your database. If you set up the upload file directory, you will be able to upload a csv file columns as: ip,domainname
To crawl the ips every day you have 2 options:
1. set up what is called a "cronjob" to have the script run once a day and crawl all your ips for you. If you can do this its by far the best method, the script runs once a day and can crawl as many ips you have in 1 script run.
2. Click the link in the admin area to crawl all ips. Once you get to like 500 ips or more, the script will time out before it is able to finish, this is a limitation of the website's php config, but you can just keep refreshing that page until it works through them all. By default, I have it only crawling 100 ips at a time, but again, you can adjust this setting.
Download the zip package here:
I will do my best to provide some support, bug fixes, etc, but if you have no idea on how to upload files, or set up a mysql database, you will have to find someone to set it up for you, takes about 2 minutes if you know how to upload and create the database. I didn't design a pretty admin area, left that all blank, but separated the files so its easy for you to do so. You can also merge this in to your own system.
Keep in mind I only put about 2-3 hours in setting this up, I took some of my existing scripts and made a stand alone system for you guys, I'll fix any bugs, but I am a little slammed on time these days writing more to my own mailing system and clients. This forum has been great for info, so I wanted to give something back.
Hope it helps, feedback appreciated.
Good stuff. + REP
Just wanted to post on this thread again to bring it back to the top, the tool I have up there for download is worth taking a look at, and I don't want to see it fall through the cracks.
Any of you that have used it, let me know if it worked fine for you, and if any of you need some help using it.
wow thanks afcpmc!
I was literally sitting here sketching out the specs for exactly this and you have handed it to us on a silver platter.
Thanks a bunch!
Someone just emailed me trying to download the sender score zip file and the link seems to be dead. I used a free hosting service that deletes files if they aren't downloaded in a certain amount of time. So here is a new link for anyone who wants this:
Some notes about things people have brought up in the past. There is a cron script in the package, so you can have it automatically check your score every day / week / month, whatever you want. The top line of that script has the path to php, this is required for php to work on the command line in some cases. So if either the script doesn't work, or if you see a random line of text print when viewing this script, it is because the path to php on your server is different from what it was on the one I built this on. You need to edit that line.
Another question asked was why I said I recommend doing no more than 500 ips per script run, this was for 2 reasons, the first being practical on how a web browser works. Any php script that runs for more than 30 seconds by default, and up to 5 minutes if you adjust your server settings will time out and generally give the message "Internal Server Error" when in fact there is no error, other than the script running for longer than the browser / server likes it to. This is why I suggest a max number if you are using this in a browser, i.e. on a website. If you run this script from the command line or through a cronjob then there isn't this concern, and you could do in theory a million ips and it wouldn't time out or give an error.
2nd reason is something I don't know the answer to, but would suggest being careful with. That is how many ips you should let return path see you crawling at one time. They could block your ip (website ip not mailing ip) if they think you are abusing their website, and crawling 1000s of ips at once is abuse in my opinion, so what I suggest is to have a cronjob run every hour and make it crawl the number of ips you have by 24 and let it do it piece by piece. You could also crawl from different website ips if you are able to.
Suggestion: don't crawl from your mailing ips, its just a bad idea. Use a neutral website ip instead. I don't know how they deal with things, but its not a good idea to do it since if they logged activity they would know the mailer was doing it for sure, where with a neutral ip, they can assume but not be sure.
You also don't need to see a score every day ... you can if you like but scores don't change that radicially in a day unless you really do something bad and if you did kill a score that badly, really would be no point in knowing the score, it would be zero.
My mta software has this and many other automated tools built in to it, and is in production now after a few months beta testing. I will be announcing the full system, mta, offer / data management system, rep tools, injector, etc in the next few weeks as I am updating my website, features list etc and fulfilling some promises I made to people while I was so busy testing. When ready to open it up to the public I'll be giving every mailerforum member a 50% discount for the first 2 months to try it out as a thank you for all the support I have gotten here. Thank you Roundabout and all the moderators / members for all the help and knowledge you have shared over the last year
The problem is that they added throttling, so now you have to query the page from multiple IPs...