This is one way to display a number in PHP without rounding up. number_format() would round the number up, so I've used substr() to simply 'hide' the extra decimal places.
The XML example code in the VirtualMerchant developer guide is incorrect. They accidentally added an additional tag at the end of the code which results in the following error:
6042Invalid Req...read more
PayPal recently announced that they're going to "discontinue support for HTTP 1.0 protocol starting February 1, 2013." Today I ran into some problems implementing these changes. ...read more
We use Amazon SES to send email from some of our clients' web applications. Recently, we developed a web application for a company who wanted to host the app on their own server. In this c...read more
There are a few tutorials out there on how to use Uploadify to upload files in a web application. However, I haven't found one that integrates Uploadify into a form with other fields, so that the fo...read more
The following code should help beginner PHP/MySQL developers who are looking for an easy way to import a CSV or comma delimited file into a mysql database. This example adds new contacts into th...read more
The purpose of this tutorial is to help beginner PHP developers understand some basic PHP concepts and functions by building a simple photo gallery script. This photo gallery does not require a mysql...read more
Using jQuery and PHP you can develop your own 'Google-like' instant search. This demo lets you see 'instant' results while searching our blog.
//arrow key navigation
The overall purpose of this script is to:
Post a form without refreshing the page
Easily validate the form
Show confirmation message
Do #1-3 within a single file and with as litt...read more
A URL shortener is a useful script to develop and it's pretty easy if you're familiar with PHP. URL shorteners are being used more now than ever because people need to post short links on Twitter. L...read more
UPDATE (March 2013) - Here's a better solution to storing passwords in a database using PHP/MySQL.
This mini-tutorial assumes you already know how to connect to your dat...read more
Hopefully, this example of a PHP file upload progress bar will be helpful to PHP developers who are looking for a simple way to display a file upload progress bar into their online forms and web...read more
The most common solution to keep 'machines/automated spammers' from abusing PHP forms is to use a CAPTCHA. This works, for the most part, but is very inconvenient & usually unsightly for the visi...read more
Google - last day of month php - and you'll get over 15,000,000 results. It's amazing how many people have searched for this & how many roundabout ways there are to accomplish what should be...read more
This tutorial explains how to successfully merge multiple PDF files using pdftk and PHP. A recent project of ours required this functionality, and we hope this tutorial saves you some time.
View D...read more
UPDATE - Click here for a new (better) PHP Upload Progress Bar Script
If you're like me, you want a PHP upload progress meter that is actually useful in your web applications. All of the uploa...read more