Monthly Archives for April 2009

New Script: PHP Callhome Script

I have decided to opensource / release several scripts that I have written over the years. If you find it useful or add anything to it, a comment below would be appreciated.

I will do my best to support this script, but I do have other projects that I work on.

This script is a PHP license check / PHP callhome script – One end goes on your script, the other end on your server. It uses a MySQL database to store server IP and license data. It is very lightweight, the user end is less than 10 lines of code. It includes a very light admin control system for you to easily add and remove licenses, as well as show logs of violating sites.

One warning is that you should only install it if your server has 100% uptime, and you have a fast server, because it does require a callhome to every page it is on. Main server down = users cannot use the script on their site. (Workaround: Use this script to lock down only parts of a site, like the installer, or the login page.)

I am considering a plugin (for a fee) that would integrate with popular checkout scripts to allow automatic addition of new servers to the allowed list, for example, after a user completes a payment, and an expiration date on the server’s whitelisting.

For now, this is a lightweight, barebones PHP call home license check script.

If you make any improvements or modifications, please share.

Download Here: http://www.collin1000.com/callhomescript.zip

[video] We diddn’t start the flame war

Hilarious video I just watched. What I found to be funny was how they jumped on digg and youtube…. and everything they profiled is SO TRUE. Come to think of it, recently I have stopped bothering to read comments on youtube or digg because 90% of them are flames, stupid copy/paste pictures, spam. It has become worthless to me by this point.

The attack on…. Mr Rogers?!

[...]experts are saying that the kids of today who grew up with Mr. Rogers were told by him “your special just for being who you are” and-well, heres the problem. alot gets lost in that whole self esteem buisness and the idea that being special comes from working hard [...] discounted. mr rogers  message was your special [...] [he] diddnt say “if you wanna be special your gonna have to work hard”

[...]look at the asian countries [who diddnt have mr rogers] [...]

-Fox Friends

……You have GOT TO BE KIDDING ME! Are you seriously saying that a children’s TV program is the reason that people a growing up to be lazy and have no work ethic? Are you seriously going to go this far as to claim that because kids were told they were important, or special, or went on adventures, that this sole person caused them to be LAZY?

[...]why is it that at the end of every term, these kids on the bubble [...] beg for extra credit [...] blame mr. rogers, because mr rogers had an optimistic message where everybody was special, even if they diddn’t deserve it, these expers say [...] the wrap on this new generation is that they all feel entitled [...] it’s mr rogers, he is the root cause [...]

[...]the signs of narcissism in this society is been growing  for twenty five years, and that man unintentionally did a whole generation or two a disservice. well thats what this study says, and I back it! [...]

[...]look your kids play t-ball and eeeverybody wins [...] theres no incentive [...] everybody gets the trophy [...]

-Fox News

Kids feel entitled because THEIR PARENTS KEEP GIVING THEM STUFF! Kids ask for things and then it is given to them. Then they enter the real world and reality hits them flat in the face. So are you going to say it is Mr. Rogers fault for thinking that as an ideology, or the parents fault who actually went to the store and bought stuff! It comes down to you, as a parent, and your ability to tell your child no. I am all for a little ego boosting here and there. When kids want things, they go out of their way to get them. So stop giving it to them, and all the good old fashion work ethic and motivation will come back. And it does not hurt every now and then for the kid to feel good just for trying (example of the t-ball).

I do believe that [...] mr rogers [...] seseme street [...] and dr spock [...] were three of the worst influences of child rearing[...]

-Nancy Fileger

The reason this could be possible: Parents who use the TV for hours on end as a babysitter. Other than that, this again is just another monstrosity. As a parent, I would assume, Nancy, you are directly responsible for the outcome of your child. So if you think they are such bad examples, exercise your control to turn off the TV when those shows are on. Or, God forbid, you let your 3 year old control YOU and he tells you what he is watching? Show some parenting. If you do not like it, shut it off, and teach your child differently.

[...]Let me ask you about something: Mr rogers, and the narcissistic society that he gave birth to[...]

-Fox News

Let me give you my final verdict. As a parent, it is your choice to turn OFF that television and tell your kids “the truth” – or, as a parent, you let them watch it. The same should be dutifully blamed unto the likes of star wars, or every other cartoon out there. If kids think we can really fly, their parents tell them no. It is not a television set that influences how a child grows up, it is the way they are parented. Parents are the ones giving their kids everything they want. So if you blame your child being lazy on a TV show, might I advise you look in the mirror for the source of your problem?

When (NOT) to generate user feedback

Collecting feedback from your users is critical. It helps you know what they want, what they do not want, where to improve, and where to keep the same. appnotworkingrightAs any 5th grader can tell you, it is very easy to skew your data based on who you ask. Just today, facebook has begun asking users to rate apps when they uninstall them. Besides the fact that app uninstalls are broken as it is right now, the greater picture is that no user would uninstall an app they would rate 5 stars. Asking users to rate something when they remove or block it is, essentially,  like standing outside the RNC and asking people who they will vote for. Again, it does not take a rocket scientist to figure that one out. Not only does this feature make NO sense, and is making the Reviews app more useless than it was to begin with, but it is BROKEN! If a developer had looked at this feature but once before pushing it live they could have spotted this. Many moons ago, when I was first starting out making websites,  I used to edit my live site because, well, it was the only site I had. Then I realized that other people on my website could see all my screwups too. So Facebook, who is slowly becoming known for pushing bugs out without even the slightest of bug testing, did not surprise me when it entirely broke application installs.

UPDATE: According to AllFacebook, the emails are now being sent on a delay…. Well, I have been waiting for over 2 hours for my email and still have not got it. And if the emails are on a delay, that begs the question…. who is going to wait 2 hours to install an app? After 5 minutes past I lost my interest. And my facebook account is WELL verified. I verified my email on signup, I verified my mobile phone, and I verified my developers account… long, long ago. So why the hell am I still being pestered? What good does verifing an app install even do?