11  Oct
PHP eBook Updates

We’ve been doing a lot of behind the scenes work here at ProInterneter.com, but we’re happy to announce that you can get our Free PHP eBook or our Full Length PHP & MySQL eBook. The Full Length PHP & MySQL eBook is currently available at the discount price of $4.43 and will be receiving Free Updates through January 2010. Get it now to get the most for your money because this super low price of $4.43 won’t last forever.

Web Development | October 11, 2009, 12:53 pm | Get RSS Feed | No Comments »

That’s right ladies and gentlemen. Our Free PHP eBook is now available.You can also get started on your way to becoming a PHP Web Developer by grabbing ProInterneter’s very own copy of our 49 page Beginners Guide to PHP Programming eBook for only $4.43 !Grab this eBook for a limited time at the low low price of $4.43 and you will receive all future updates of the Beginners Guide to PHP Programming eBook for free !Buy Now

Web Development | September 25, 2009, 7:43 pm | Get RSS Feed | No Comments »

Back inĀ 2007, I registered a bunch of Twitter names. Rappers, Athletes, Brand names, etc. I figured I could at least hold the names till someone real wanted them. Back then, nobody knew if Twitter would ever mean anything.Honestly, I hadn’t checked these accounts in a long time, then today I saw that Xzibit, one of my favorite rappers ever, was having some sort of issue on Twitter - and I remembered that I held the “xzibit” twitter account. I logged in and found a Twitter “Account Suspended” notice. Obviously, that sucks. I thought maybe I could pass the account over the Xzibit so that he didn’t have to use ‘mrztothaz” - but now I don’t know what’s going on, maybe they want to charge him money for it?Get ProInterneter’sĀ Free PHP eBook.Twitter Account SuspendedAnyways, I’ve added some screenshots here. I have ‘xzibit’, ‘eminem’, ‘drdre’, ‘lebron’ … all suspended. I guess I should have been posting all along, but I have to earn a living in the meantime.I emailed Twitter about the ‘xzibit’ account, hopefully I get a response.XzibitEminemXzibitDr. DreLebronGet ProInterneter’sĀ PHP eBook.

Web Development | March 1, 2009, 1:36 am | Get RSS Feed | No Comments »

I haven’t written an income report for over a year, but there is finally some information worth sharing. The main source of website income thus far has been Google AdSense, and while it isn’t anything too exciting, it has been picking up.

In August 2008 I received my first $100 payment from Google. This took me 18 months to accumulate. I had been running ads across several sites, trying different tactics to see what works. During that 18 month period, my worst month I earned 19 cents and during my best month I earned $21.53.

My second payment from Google came at the end of December 2008, taking only 4 months to reach the $100 threshold. My best month during this period was $59.11, driving by a few year-old blog posts that had good SEO and became relevant again due to Christmas. I simply updated the posts with 2008 information and watched the dollar bills roll in.

My average income over the last 6 months has been around $30 per month / $1 per day. This has obviously fluctuated a bit day-to-day and week-to-week.

I am on pace to set a new Best Month by the end of February and should break the $100 barrier by the end of March, which will be 3 months since my previous payment.

Make Money | February 22, 2009, 11:48 am | Get RSS Feed | No Comments »

I recently ran into problems using Javascript’s readyState property in Internet Explorer (IE). I was using XMLHttpRequest, http.open and http.send to make a call to a PHP / MySQL script. If the MySQL was executed correctly, the PHP would return the value “1″. If the Javascript saw that “1″ value, it would then send an alert that said “Your query was successful” - the problem was, Internet Explorer did not instantly get the readyState.

I was receiving an error that said “The data necessary to complete this operation is not yet available”.

Here’s the original code, which works in Firefox but not in Internet Explorer (IE).

// Create the XMLHttpRequest
var http = new XMLHttpRequest();

// Open the XMLHttpRequest
http.open(’get’, ‘/url/mypage.php’, true);

// Send the XMLHttpRequest
http.send(null);

// If the PHP code returns a value of “1″
if (http.responseText == ‘1′) { alert(’Your query was successful.’); }

I tried checking the readyState along with my current IF Statement, but received similar errors:

if (http.readyState == 4 && http.responseText == ‘1′) { alert(’Your query was successful.’); }

After trying several different things, I discovered that Internet Explorer uses a ActiveXObject instead of XMLHttpRequest. As a result, I had to add aditional code, which finds out what browser the visitor is using, and then uses the correct function (ActiveXObject or XMLHttpRequest) depending on their particular browser. The rest of the code remains the same:

// Get the visitor’s browser information
var browser = navigator.appName;

// If the visitor is using IE, then use ActiveXObject
if (browser == “Microsoft Internet Explorer”) {
var http = new ActiveXObject(”Microsoft.XMLHTTP”);
} else { var http = new XMLHttpRequest(); }

// Open the XMLHttpRequest
http.open(’get’, ‘/url/mypage.php’, true);

// Send the XMLHttpRequest
http.send(null);

// Wait for the readyState
if (http.readyState == 4) {

// If the PHP code returns a value of “1″
if (http.responseText == ‘1′) { alert(’Your query was successful.’); }

}

Javascript, Web Development | January 31, 2009, 10:30 am | Get RSS Feed | No Comments »

« Previous Entries