Archive for the 'PHP' Category
Setting up PHP 5 on IIS 5
This was tons of fun, in a few easy steps:
**NOTE: I am installing using CGI and not ISAPI
Download and unzip PHP package to desired PHP directory (eg: C:\PHP)
Add ‘;c:\PHP’ (or wherever you stored your PHP directory without quotes) to your PC Path. To get there go to “my computer” -> right click > properties > [...]
Filed under: Beginner, Intermediate, PHP | Leave a Comment
Server side validating fields
As many of us know by now, it is never best to only validate fields with client side code. You must also validate on the server.
As I was writing code today for a multi-page form, I was trying to think of the best way to validate fields. Although the below is verbose and written [...]
Filed under: Beginner, ColdFusion, PHP | Leave a Comment
Ever have a textbox where a person needs to enter a number, and they enter something like… $24.56? Or even 45,898.68? I have. The worst is that I wasn’t working on a database I created, and I further needed the dollar entered to be a whole number – without changing a lot of stuff =). [...]
Filed under: ColdFusion, Intermediate, PHP, Regular expressions | Leave a Comment
Domain after URL
One of the sites that I frequent daily has an interesting take on URL’s. It is both something that I have grown to love and appreciate. After the end of each link, the domain that the link refers to is clearly printed. Why is this useful? Well, comments on a site or posts on a [...]
Filed under: Intermediate, PHP, Usability | Leave a Comment
Search
-
You are currently browsing the ✩CodeStar✩ weblog archives for the PHP category.