On the TutToaster site today there's a new tutorial showing you how to create an entire PHP forum completely from scratch using PHP and a MySQL backend.The code I'll show is exactly the same than the one you can download, except for some comments. In the original project you'll have everything well documented (using phpDocumentor). [...] This project doesn't follow a MVC pattern, but we'll use classes and try to separate the different functionalities.They walk you through the creation of the database (a...
On WebReference.com today there's a new tutorial about creating a PHP interface for sending and receiving emails directly from a mailer script.In this tutorial you will learn how to create your own PHP Web mailer. You will learn the necessary steps for creating an email account and making connections to the server protocols for sending and receiving email. You also will get a listing of PHP commands that you can use to customize the Web mailer to your specifications.The script makes manual connections to...
Set of custom Zend Framework classes, which provide API for using Asirra (Animal Species Image Recognition for Restricting Access) service.
On PHPBuilder.com there's a new tutorial posted about combining PHP and Ajax to move large XML data around via a web interface.A simple way to transfer XML documents onto a server is to use an Ajax-driven Web interface to upload the files. However, this approach won't work for huge XML files because Ajax doesn't support uploading of files that large. In this article you will learn an innovative solution for transferring huge XML documents on the server via a Web interface using Ajax and the GET...
On the These Days blog there's a recent post talking about creating a mobile version of your site and how you can detect if the visitor is using a mobile browser or not using WURFL.WURFL, The Wireless Universal Resource File (WURFL) is an open source project which collects information about all of the different mobile devices in use. It is constantly being updated, so as long as you keep your WURFL definitions up-to-date you don't have to worry about your detection scripts not recognising new devices. By...
Multi-OTP PHP class
amba XML document
Simple Singleton and Multiton Class
ODBC on The Fly
PHP to Yahoo Messenger
XML-RSS Feed Generator
My simple Query Language Class for MySQL & MySQLi(Improved)
I just added a blog post on the Sugar Developer Blog about Sessions and IE, detailing one quirkyAidiosyncrasyAwith how Internet Explorer won't save sessions if the server name isn't of the proper form. An issue for ages, but one worth bringing up in case you haven't had to spend an entire day trying to figure it out .
On his blog today Matthew Weier O'Phinney talks about how to run mod_php and FastCGI side-by-side on a Zend Server instance.I installed Zend Server some time ago, so I'm still on a PHP 5.2 mod_php binary. I have several PHP 5.3 binaries compiled and installed locally for running unit tests and sample scripts already -- so the question was how to keep my 5.2 mod_php running while simultaneously allowing the ability to run selected vhosts in 5.3? The answer can be summed up in one acronym: FastCGI.He shows...
In this new post to his blog talks about authentication strategies in Zend Framework applications with the combination of Zend_Acl and Zend_Auth.I'm going to talk more about ACLs than Auth. Auth is simple, it's the ACL that will trip you up. Since both concepts are coupled together when you're making a login system, I feel it's appropriate to at least touch on Auth. What I want to cover is the ways we can create the ACL object to suit needs based on the scale of the project. I'm going to assume that...
Chris Jones has a new post to his Oracle blog about the latest release of the OCI8 for PHP drivers to connect Oracle and PHP - version 1.4.3 - now available on PECL.Why the two releases so close in time? The OCI8 extension is one of the few extensions that has a dual identity, being in both the PHP bundle and in the PECL repository. OCI8 1.4.2 contains the same code as in the recent PHP 5.3.3 release. The PECL bundle was made for anyone who wants a PHP 5.5.3-identical version of OCI8 when installing via...
Free T-Shirts may not be the reason people attend conferences but 6 months after the conference, it is usually the one thing you still remember. (Except for maybe the after party where you had four White Russians and the fifth ended up on a friend) This year Zend has decided to crowd source the design of the ZendCon10 T-Shirts. Click on in and I'll give you the low-down.
On the SitePoint PHP blog today Craig Buckler has posted a new tutorial about redirecting old URLs - specifically WordPress ones - to their new locations.We recently devised a system to redirect old URLs in PHP so that you could avoid "page not found" errors (I suggest you read it before venturing further). In this article, we'll create a similar system for WordPress, the popular PHP CMS. [...] There's probably no need to worry about redirecting old URLs if you've been using WordPress since day one. The...
Padraic Brady has a new post to his blog today about something that has caused a lot of pain over the years for developers (not just PHP ones either) - HTML sanitization.In this article, I take a look at some of the solutions PHP developers rely upon to perform HTML Sanitisation. Mostly because few others have done it or written about such solutions in any great detail (at least publicly). HTML Sanitisation has a very low profile in PHP. It's rarely mentioned, usually not understood all that well, and...
On the PHPClasses.org blog today there's a new book review posted about a recent release from Packt Publishing - "Expert PHP 5 Tools" by Dirk Merkel."Expert PHP 5 Tools" is a book for every developer, beginner to expert. Even experts will find useful information between the lines. You do not really need to have much experience with PHP. If you are really beginning with the language, this book can boost your programming skills very quickly.He mentions some of the topics in the book including continuous...
I was curious if anyone has any experience with Multivariate (A/B) testing with PHP Frameworks. AI foundAhttp://phpabtest.com/ yesterday, but I haven't heard of anyone using it in production yet. Nor have I been able to gather how easily or well it integrates with Symfony, or other frameworks that introduce some level of caching.
Here's what I'd like to measure.
How often I showed the blue sign up button on a page.
How often people clicked on that blue sign up button (currently I'm using event...
Latest PECL Releases:
Article originally from AK BK Consulting blog
git clone http://git.roojs.org/gnome.introspection-doc-generatorhttp://git.roojs.org/?p=gnome.introspection-doc-generator;a=tree
We recently devised a system to redirect old URLs in PHP so that you could avoid aopage not founda errors (I suggest you read it before venturing further). In this article, we'll create a similar system for WordPress, the popular PHP CMS.
How is WordPress different?
WordPress routes all requests through a single index.php file. Under normal circumstances, all URLs that don't map to a physical file or folder on your server will be handled by WordPress. This includes all invalid addresses, so there's no...
I've just posted the PHP OCI8 1.4.2 and OCI8 1.4.3 extensions on PECL. The change notes are here. PHP OCI8 is the recommended database driver for using Oracle Database in the PHP scripting language. Why the two releases so close...