Writing PHP code is quite a fun task – as we’re sure of you will agree – it’s an easily learnt, flexible, and feature-rich language that lends itself very well to scripts of all shapes and sizes. Almost certainly as a result of this comparative ease of use, many PHP programmers take to re-inventing the wheel a lot and spend much time writing and rewriting ‘new and improved’ code to handle authentication, caching, forums, opinion polls, and other systems that have been coded and recoded in the past.
Read the rest of this entry »
This tutorial is intended to give a very basic introduction to using the Zend Framework to write a basic database driven application.
NOTE: This tutorial has been tested on versions 1.0.0 of the Zend Framework. It stands a very good chance of working with later versions, but it’s unlikely to work on versions prior to version 1.0.0
Read the rest of this entry »
This is a quick guide to install and configure the Apache web-server with PHP and JSP support on a Windows XP Pro machine. Let me know if this helps you out! Feedback is appreciated. This is my first “published” guide. I made it for my own reference. Why not share?
Read the rest of this entry »
The purpose of this document is to provide instructions on how to update the version of PHP included with OS X 10.4.x Tiger Server. DO NOT USE this document to update PHP on 10.5.x Leopard Server. An separate tutorial is available. It will guide you through updating to the latest version of PHP4 without breaking Server Admin functionality. Furthermore you will be shown how to update to the latest version of PHP5, while retaining most of Server Admin’s functionality.
Read the rest of this entry »
This tutorial will guide you threw the installation process. In this install example we use CPanel hosting control panel system to create a new MySQL database. Your hosting control panel interface may be different but the tutorial may still be helpful.
Read the rest of this entry »
Not a Linux fan? Looking for a hassle?free way of setting up a PHP environment on your Windows box? Read as Matthew guides us through the process of installing Apache, MySQL and PHP on a Windows based machine, otherwise known as WAMP.
This article is geared towards people who want to code and test their own, or other people’s, php scripts on their Windows box. No advanced technical knowledge is assumed. This tutorial is unsuitable for advanced users. Why Apache and MySQL? Because they are available for free, quite easy to use and reliable. Why windows? Because there are many installation guides written for the Linux user, but Windows generally gets overlooked. And getting it all to work can be a real daunting task.
Read the rest of this entry »
The customizable PHP script Generic HTML Form Processor is intended to assist researchers and students in quickly setting up surveys and experiments that can be administered via the Web. This script relieves researchers from the burdens of writing new cGi scripts and building databases for each Web study. Generic HTML Form Processor processes any syntactically correct HTML form input and saves it into a dynamically created open-source database. We describe five modes for usage of the script that allow increasing functionality but require increasing levels of knowledge of PHP and Web servers: The first two modes require no previous knowledge, and the fifth requires PHP programming expertise. use of Generic HTML Form Processor is free for academic purposes, and its Web address is www.goeritz.net/brmic.
Read the rest of this entry »
Very rare since a MySQL client library is distributed with PHP and built into PHP by default. However, it is possible to build PHP without MySQL support. Some possible fixes:
apt-get install php-mysql
rpm -Uvh php-mysql-4.2.2-1.i386.rpm
./configure –with-mysql=shared,/usr
cp modules/mysql.so /usr/local/lib/php
extension_dir=/usr/local/lib/php
extension=mysql.so
Read the rest of this entry »