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 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 »

5 Things To Do Before You Start A Business. When I started my web development business, I really didn’t know what I was doing. I jumped in and figured that everything would sort itself out. I would get a lot of business, work a lot of hours, make a lot of money and it would all be great.

Now it’s 4 years later and I’m in the same financial situation that I was when I began. No extra money, living from project to project, begging clients to pay me on time. As I look back, I’ve learned a lot over these 4 years, so I thought I would put together a list to help myself and help others.


5 Things To Do Before You Start A Business

Get An Accountant - I have been working freelance for nearly 4 years but I have only recently signed up with an accountant. Needless to say, I will be paying the tax man for a while. Even if you aren’t making much money at all, it is vital to your survival that you get an accountant who is versed in small business. No matter the price, they will save you money in the long run.

Get Some Investment Money - When I started my business, I was riding the waves and taking my bumps, but I never had any money in the bank. Lack of liquidity has really begun to show its ugly face as I have tried to bring in sub-contractors to handle some of my work. Clients do not pay me on time, but I feel like a jackass if I don’t pay my workers on time.

Incorporate Your Business - This has not yet come back to bite me, but I could have saved some tax money if I had incorporated from the beginning. When you incorporate you can create a separate bank account for your business. Also, as I have begun to build some business assets (websites, written documents, etc), it would be nice to have the “corporate veil” to protect them. If you have a good accountant, they can help you set this up.

Set A Daily Schedule - This is one of the biggest issues of working from home and I still battle with it on a daily basis. Working from your house provides you with limitless perks, but if you do not get yourself out of bed and start your day, or if you are unable to stay on task throughout the day, you will not last very long.

Get Your Value - I used to be scared about giving clients a pricetag and sometimes I still wonder if I am giving them their money’s worth. I have consistently low-balled estimates and it has cost me a lot of happiness and money in the long run. No matter what business you are getting into, figure out your pricing and don’t be afraid to walk away from a job if the price isn’t right.

Web Development | June 25, 2008, 1:53 pm | Get RSS Feed | No Comments »

« Previous Entries