Posts Tagged PHP

PHP Profile Registration Script

Posted July 12, 2010 at 2:46 pm in Programming | No Comments

PHP Profile Registration ScriptI tried my hand at coding a PHP registration script that a user would be able to use to register a profile for a site. My goal was to write a script that enforced a strict registration policy, focusing on enforcing a secure password and reducing the possibility of a fake email address.                 

The policy I created focused on:

  • A unique user name
  • A secure password using a minium of 8 characters in a combination of upper case, lower case, numbers (0-9), and special characters (! @ # $ % &)
  • Your first and last name
  • An e-mail address
  • Your gender

Continue reading..

How to display PHP errors on your LAMP/WAMP setup

Posted May 21, 2010 at 8:00 pm in General | No Comments

Is there anything more annoying than not being able to determine why your code isn’t working? How about trying to determine a reason why without receiving any feedback such as error messages? This is what happened to a friend of mine who is attempting to learn how to program using PHP and wasn’t able to tell why his code wasn’t working properly. Luckily, the solution is quite trivial.

You’ll need to modify PHP’s initialization file called php.ini. This file is responsible for configuring many of the aspects of PHP’s behavior. I will assume for the sake of brevity that you have a working LAMP/WAMP setup. Continue reading..

How to deploy your own free WordPress development sandbox on Windows XP

Posted June 11, 2009 at 5:58 pm in General | No Comments

Wordpress, WampServer, Geany, GIMP

I recently upgraded my computer hardware due to aging components like AGP, 1GB of RAM, single-core processing, SATA 1.5GBs, and a power supply that lacked a few necessary power wires required for new components. That being said, I’m still stuck in the old world when it comes to operating systems. I use Windows XP Professional because I can’t afford to upgrade to Vista, I don’t want to learn Vista, and I have yet to find a reason to upgrade. A dual-boot system with Windows XP and Ubuntu 9.04 for every day computing is more than suitable for my needs.

Continue reading..

Page 1 of 11