PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 181 to 200 of 277

TutToaster.com: How to create a forum in PHP from scratch

TutToaster.com: How to create a forum in PHP from scratch
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...

WebReference.com: Build Your Own PHP Web Mailer

WebReference.com: Build Your Own PHP Web Mailer
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...

NP - Asirra

NP - Asirra
Set of custom Zend Framework classes, which provide API for using Asirra (Animal Species Image Recognition for Restricting Access) service.

PHPBuilder.com: Transferring Huge XML Documents in PHP with an Ajax-driven Web Interface

PHPBuilder.com: Transferring Huge XML Documents in PHP with an Ajax-driven Web Interface
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...

TheseDays.com: An Easy Way to Detect Mobile Devices

TheseDays.com: An Easy Way to Detect Mobile Devices
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...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Siviglia Templating Buscador Multi-OTP PHP class amba XML document Folder_DetailView Simple Singleton and Multiton Class ODBC on The Fly PHP to Yahoo Messenger AutoDBRec XML-RSS Feed Generator Aktive Merchant Socksed My simple Query Language Class for MySQL & MySQLi(Improved) Members Controller Haanga

Fun with Sessions and IE

Fun with Sessions and IE
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 . Enjoy!

Matthew Weier O'Phinney's Blog: Running mod_php and FastCGI side-by-side

Matthew Weier O'Phinney's Blog: Running mod_php and FastCGI side-by-side
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...

KillerPHP.com: Advanced PHP Video Tutorial - Passing Parameters Around an MVC Application

KillerPHP.com: Advanced PHP Video Tutorial - Passing Parameters Around an MVC Application
On the KillerPHP.com blog today there's a new screencast looking at passing data around a MVC (Model/View/Controller) application.In this video tutorial from our Advanced PHP series, we look at how to write a very simple MVC (Model,View,Controller) framework from scratch using PHP 5.3, soon to be PHP 6You can find other advanced PHP videos on this page of the KillerPHP.com site covering topics like Javascript, creating CRUD, making a login system, ORM and much more.

Chance Garcia's Blog: Auth/ACL implementation strategies

Chance Garcia's Blog: Auth/ACL implementation strategies
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' Blog: PHP OCI8 1.4.3 is Available on PECL

Chris Jones' Blog: PHP OCI8 1.4.3 is Available on PECL
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...

ZendCon T-Shirt contest

ZendCon T-Shirt contest
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.

SitePoint PHP Blog: Redirecting Old URLs in WordPress

SitePoint PHP Blog: Redirecting Old URLs in WordPress
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's Blog: HTML Sanitisation: The Devil's In The Details (And The Vulnerabilities)

Padraic Brady's Blog: HTML Sanitisation: The Devil's In The Details (And The Vulnerabilities)
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...

PHPClasses.org: Book Review - Expert PHP 5 Tools

PHPClasses.org: Book Review - Expert PHP 5 Tools
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...

Multivariate Testing, PHP Frameworks, Plea for help.

Multivariate Testing, PHP Frameworks, Plea for help.
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...

Community News: Latest PECL Releases for 08.10.2010

Community News: Latest PECL Releases for 08.10.2010
Latest PECL Releases: stomp 1.0.1 APC 3.1.4 mongo 1.0.9 oci8 1.4.3 oci8 1.4.2 gmagick 1.0.6b1 gmagick 1.0.7b1

Javascript Packer

Javascript Packer
Article originally from AK BK Consulting blog Project: Javascript packer in Javascript, with full scoped variable replacement Source: git clone http://git.roojs.org/gnome.introspection-doc-generatorhttp://git.roojs.org/?p=gnome.introspection-doc-generator;a=tree

Redirecting Old URLs in WordPress

Redirecting Old URLs in WordPress
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...

PHP OCI8 1.4.3 is Available on PECL

PHP OCI8 1.4.3 is Available on PECL
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...