Category Archives: General

If I don’t know where else to put something or don’t think a post warrants a new category, it will just end up here.

7 New Promotions for Domain Name & Web Hosting Resellers ~ Sign Up Today!

Chances are, you or someone you know owns domain names and pays for monthly web hosting. Why not help you and your associates by being able to offer low-cost domain names, web hosting packages, dedicated servers, ssl certificates, and more with a simple turnkey solution?

Check out our amazing affiliate program!

PROMO Code Description
RS25OFFPRO $25 off new & renewal Pro plans
RS10OFFPRO $10 off new & renewal Pro plans
RS10OFFBAS $10 off new & renewal Basic plans
RSRENEW25 25% off Pro reseller plan renewals
RSRENEW10 10% off all reseller plan renewals
RSPLAN25 25% off new Pro reseller plans
RSPLAN10 10% off all new reseller plans

Enter any of the above promotional codes during checkout to redeem the offer ๐Ÿ™‚

Start selling domains and hosting today!

Happy New Year 2012

I’d like to wish all of my visitors and fellow coders a happy and prosperous new year. Keep checking out my blog in 2012 for some new sections included but not limited to java, c++ and iphone/android app development. This should be a good year.

PowWeb a little short on hosting power…

I am working on a new client’s site. He happened to already have hosting/email set up with PowWeb. I had of course heard of them so I did not immediately suggest moving to a larger provider as I usually tend to do when it comes to mom/pop hosting companies.

While PowWeb’s control panel seems relatively intuitive and feature-rich, their network and/or servers are so slow I want to shoot myself. This client is using their “PowWeb OnePlan” which is probably one of the low-end packages, but nevertheless it should not be this slow. I acutally have to wait for a 1k file to upload using Dreamweaver, I mean come on… seriously?

— Insert Shameless Promotion Here —

Get fast, reliable web hosting to keep your developer’s happy. Have a lot of client’s you manage hosting for? Get yourself a domain/hosting reseller account instead and earn commissions on each sale/renewal!

Some people may think GoDaddy/WildWestDomains shouldn’t be in the hosting business, but they are actually quite easy to deal with and impose very few restrictions, most of which you can easily override ๐Ÿ™‚

Future proof PHP class constructer compatible with php4 and higher

Since there was no real viable reference to either confirm or oppose my methods, I figured this may help someone else that is trying to make sure they don’t have to change their code based on the installed PHP version.

As most of us already know, initializing a new class object in PHP4 required the constructor to have the same name as the class.

class Myclass {
 function Myclass()
 {
  echo 'Myclass initialized';
 }
}

Then __construct() was introduced in PHP5.

class Myclass {
 function __construct()
 {
  echo 'Myclass initialized';
 }
}

Now you may be thinking “I’ll just use this from now on”. I however have to write for multiple versions of PHP4/5 and must keep backwards compatibility in mind (at least for now). Here is what I use to make sure it works on all versions of PHP that currently support object-oriented programming or OOP. Anything earlier than PHP4 and I simply tell the client to find a new host, lol. Continue reading

OpenCart Checkout With Virtual Merchant Gateway

UPDATE:ย Buyย this extension here!

I have finished writing a payment module for the Virtual Merchant gateway to use with OpenCart 1.4.9.1. If you need to integrate Virtual Merchant with OpenCart, this is your solution. Why write it yourself when it’s already done?

Virtual Merchant gateway payment module for OpenCart

GoDaddy, Filezilla and getting blocked while uploading via FTP

I write code for a growing number of clients who host their sites with GoDaddy and Wild West Domains (GoDaddy’s Resller Program). My aresnal includes Photoshop & Expression Web (not a huge fan of Dreamweaver) for visual layout, Filezilla for uploading, and Notepad++ for coding (tried nppFTP plugin for FTP, that didn’t last long, too “buggy”).

Frequently I would be uploading a files after making my initial FTP connection and within a few minutes the connection would time out and I would be unable to reconnect. I figured since it was a shared hosting environment, their hardware and/or software firewall was just being very cautious. After cloning my PC’s IP address in my local router and restarting my cable modem (force renew my IP), I was able to resume work. Inevitably the issue would creep back up quickly.

Continue reading