PHP file uploads

A common challenge faced by PHP programmers is how to accept files uploaded by visitors to your site. In this bonus excerpt from Chapter 12 of the recently published SitePoint book: Build Your Own Database Driven Web Site Using PHP & MySQL (4th Edition), youll learn how to accept file uploads from your web site [...]

Wamp wamp

With the lunch of the 4th edition of the “Build Your Own Database Driven Web Site Using PHP & MySQL” book, the SitePoint team starts by offering a superb free tutorial on installing the WAMP platform.
WampServer (where Wamp stands for Windows, Apache, MySQL, and PHP) is a free, all-in-one program that includes built-in copies of [...]

Flash XML cache problem

Prevent XML files from caching when working with actionscript and dynamic data.

ImageMagick strip exif (PHP)

ImageMagick is probably the best option we have when dealing with image resizing, croping and other small editing jobs that we need when working with image uploads.
As I am running a photography website, where community members are sometimes uploading images straight out of their digital cameras, I came across the following problem:
Digital cameras usually add [...]

If you are in a shared server environment, and you don’t have access to the php.ini file,  or you want to set php parameters on a per-site basis, you can use the .htaccess file (when running on an Apache webserver).
For instance, in order to change the max_execution_time value, all you need to do is edit [...]

SyntaxHighlighter Plus problem

As I  started to build this blog, I clearly needed some solution for displaying code on a wordpress blog.
Asfter studying a few solutions with more or less results, I decided uppon SyntaxHighlighter Plus which seams to be the best solution out there.
However, although it worked great with the default Wordpress theme I realised that as [...]