Web & Software Developer

Page 3 - Code Snippets and Tutorials

Error Codes For system(“unzip archive.zip”) in PHP

If you’re using system("unzip archive.zip") to unzip an archive file in PHP, and you want to catch errors, you’ll notice that it only returns a number for the error code. Here are the error codes (exit status codes) and meanings for the unzip command. This PHP array matches the unzip error code with its meaning. … Read more →

Run Code Only Once in WordPress

You may have a function or some code that you only want to run one time on your WordPress site. You may notice that functions hooked on to admin_init can be fired twice. Here is quick way to run your code only once. This will guarantee that it runs one, and only one, time. Mandatory … Read more →

WordPress.com and WordPress.org are in the Same BoatWordPress.com and WordPress.org are in the Same Boat

Some people believe there is a conflict of interest between WordPress.com and WordPress.org. Or, between Matt Mullenweg, Automattic, and WordPress.org. To be clear, I am not here discussing the features of WordPress.com versus WordPress.org. If you’re looking for a comparison between the two platforms, you will not find it here. I hope to talk here … Read more →

Migrate a WordPress Site To Free AwardSpace HostingMigrate a WordPress Site To Free AwardSpace Hosting

Do you have a WordPress website that is just sitting there without much activity? Maybe it’s a hobby website, or a small business website that you manage for a relative. Would you like to have it hosted for free on AwardSpace? This shows you how to move your existing WordPress website to a free AwardSpace … Read more →