Quantcast
Channel: ABrandao.com » php code
Browsing all 5 articles
Browse latest View live

Sample Code: PHP Captcha Simple

Problem: Web form spam or bot induced form submissions  is a common issue these days on we pages that have forms. The simplest way to thwart such spam is to use a. There are many varieties of captcha...

View Article



Sample Code: Basic Login , Roles authentication and Login attempt alerts.

Problem:  In most web based system one of the most commonly used process is user authentication and page access. This Login function is pretty typical here’s my example: Notice I set a bunch of session...

View Article

Sample Code: prevent web page overwrites

Below are some interesting problems and solutions that I have come accross. Problem: In a web based system how to you prevent multiple updates to the same record by different users seeing potentially...

View Article

Sample Code: Quick and Dirty PHP Cache

Here’s a variation of a PHP caching script. One of the things I frequently find myself doing for page(s) that take a long time to render, especially if they are a long running process, is to generally...

View Article

Code Sample: PHP Currency converter with caching RSS Feed

Problem: For a recent project I needed to get the latest exchange rates to allow the sales folks to quickly calculate exchange rates while doing estimates in different currencies. There are many sites...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images