PHP - MySQL

PHP Payment Library for PayPal, Authorize.net and 2Checkout (2CO)

Feb 23, 2009Comments

Looking for a PHP Payment Library for three of the most popular payment gateways (PayPal, Authorize.net, and 2Checkout)?  This PHP library provides you with a similar way of using them.  Note: The libraries are for basic usage only and don’t contain options for recurring payments.
PHP Payment Library

Pretty Dates from MySQL DateTime

Jun 13, 2008Comments

So I'm working on a project where I want to show a formatted join date on a user profile page.  The join date, of course, is stored in a MySQL database using the datetime column type.  I know you can use the MySQL built in function DATE_FORMAT, but I wanted to be able to do [...]

PHP Email Address Encoder

Apr 4, 2007Comments

This small PHP function will give you an easy way to encode any email address using Character Entities. Just supply the function call with an email address and get the encoded version returned. Most any browser will properly read and translate your email without a problem and without any further action on your [...]

Resize a BMP file with PHP and GD

Mar 27, 20071 comment so far

So I recently ran into an issue while trying to resize a BMP file with PHP. Fortunately, I came across this user created function in the imagecreate() section of the PHP website that made it easy as pie.
All you need to do is take the function there and do something like...
PLAIN TEXT
PHP:

$src = ImageCreateFromBMP($_FILES['upload_field']['tmp_name']);

imagejpeg($src, [...]

jQPie (Jquery PHP interface extension) - Trac

Mar 15, 2007Comments

jQPie is a jQuery PHP interface extension that provides a lightweight PHP interface to jQuery. The interface gives you multiple ways to interact and supports XML, HTML and JSON Handlers.
What can jQPie do?

Easily request and process data from php using $.getJSON
Inject php generated html into elements using $.(element).load
Call php functions directly from your web [...]

Showing the Current Date on your site with PHP

Feb 6, 20071 comment so far

A lot of websites show the current date somewhere on the site whether it be in the header or sidebar area. Over on WebReference.com there is a long article about using Javascript to do this.
Granted, if you are trying to learn Javascript this is probably a good article to read. Yet, if you [...]