PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 81 to 100 of 214

PHPClasses.org: Top 10 Wrong Ideas About PHP That You Should Get Right

PHPClasses.org: Top 10 Wrong Ideas About PHP That You Should Get Right
On the PHPClasses.org blog there's a new post that tries to right some wrongs about how people think about PHP. Maunel Lemos looks at some of the misconceptions people have about the language and the truth behind them.PHP is often a misunderstood language by people that either love or hate it. [...] This article attempts to clarify some of the most common wrong ideas that many developers have about PHP. Read the article to the end, so you may eventually start having a better perspective about PHP and...

Robert Basic's Blog: Debugging two PHP projects in Netbeans at the same time

Robert Basic's Blog: Debugging two PHP projects in Netbeans at the same time
Robert Basic has posted a quick hint for Netbeans users on how they can debug two (interlinked) projects at the same time in the same debugger instance.I'm currently working on some Symfony2 bundles and I have one Netbeans project for the main Symfony2 app and one project for the bundle. [...] The debugger starts for the "main" project, which is the Symfony2 app, but setting breakpoints with Netbeans (y'know, by clicking the line number) for the bundle doesn't really work, as those are in the other...

Site News: Popular Posts for the Week of 08.19.2011

Site News: Popular Posts for the Week of 08.19.2011
Popular posts from PHPDeveloper.org for the past week:StackOverflow.com: The Definitive Guide To Forms based Website Authentication Hyperpolyglot.org: Syntax for Common Tasks - Side-by-side (Ruby, Perl, Python & PHP) DZone.com: Hardening PHP: SQL injection - Complete walkthrough Factor3 Blog: Web Frameworks Rafael Dohms' Blog: Filtering objects using annotations Ldeveloper Tech Blog: PHP - Fatal error: Uncaught SoapFault exception: Could not connect to host... Stuart Herbert's Blog: PHP Components:...

Zend PHP Conference 2011 (ZendCon)

Zend PHP Conference 2011 (ZendCon)
The Zend PHP Conference (ZendCon) is the largest gathering of the PHP Community and brings together PHP developers and IT managers from around the world to discuss PHP best practices and explore new technologies. This year's conference will be held on October 17-20, 2011 at the Convention Center in Santa Clara, California. The conference will include a variety of technical sessions and in-depth tutorials in the following areas: Cloud Computing - build applications, not infrastructure.Learn about...

Leonid Mamchenkov's Blog: PHP regular expression to match English/Latin characters only

Leonid Mamchenkov's Blog: PHP regular expression to match English/Latin characters only
Leonid Mamchenkov has a quick new post to his blog sharing a regular expression that can be used to check that a string contains only English or Latin characters (no Unicode allowed).Today at work I came across a task which turned out to be much easier and simpler than I originally thought it would. We have have a site with some user registration forms. The site is translated into a number of languages, but due to the regulatory procedures, we have to force users to input their registration details in...

Project: HybridAuth - Open Source Social-Sign-On Solution

Project: HybridAuth - Open Source Social-Sign-On Solution
On Greepit.com there's a new post spotlighting a single handy library you can use in your PHP application to make authenticating with many of the popular social network providers simple - HybridAuth.HybridAuth is an open source web-based authentication and authorisation solution that combines the strengths of several major social networks and Identity Providers services into one simple PHP Library. [...] This PHP Library for social services authentication supports many social platforms including...

Kristina Chodorow's Blog: Writing a PHP Extension (Four Part Series)

Kristina Chodorow's Blog: Writing a PHP Extension (Four Part Series)
Kristina Chodorow has posted a four part series of articles to her blog that shares some of her experiences in developing an extension for PHP (on C/C++). It walks you through the entire process - from the basic "hello world" out to working with more complex data structures.A PHP extension allows you to connect almost any C/C++ code you want to PHP. This is a 4-part tutorial on how to write an extension. [...] Almost all of the code examples in this tutorial are available on Github.The parts of the...

PHPBuilder.com: PHPUnit Fundamentals: Setting Up and Tearing Down a Doctrine 2 Database

PHPBuilder.com: PHPUnit Fundamentals: Setting Up and Tearing Down a Doctrine 2 Database
New on PHPBuilder.com today is a tutorial showing you how to use set up and tear down methods in PHPUnit unit tests to work with a Doctrine 2 database, making it simpler to run self-contained testing.The recently released Doctrine 2 presents significant advantages over its 1.X predecessor, advantages which are even more pronounced when compared to the Zend Framework's default database solution, namely the Zend_Db component. [...] When running unit tests which vet various aspects of your database you'll...

PHP 5.3.7 Released!

PHP 5.3.7 Released!
The PHP development team would like to announce the immediate availability of PHP 5.3.7. This release focuses on improving the stability of the PHP 5.3.x branch with over 90 bug fixes, some of which are security related. Security Enhancements and Fixes in PHP 5.3.7: Updated crypt_blowfish to 1.2. (CVE-2011-2483) Fixed crash in error_log(). Reported by Mateusz Kocielski Fixed buffer overflow on overlog salt in crypt(). Fixed bug #54939 (File path injection vulnerability in RFC1867 File upload...

James Fuller's Blog: Adding a Session Flash Message to your site in Lithium PHP

James Fuller's Blog: Adding a Session Flash Message to your site in Lithium PHP
James Fuller has a new post to his blog today showing how to use flash messaging in the Lithium PHP framework.In my case, I needed to display to the user a "flash message" after redirecting them to another page. CakePHP has this as part of the framework by default but Lithium will ask you to do a bit more work. Luckily, Lithium framework lead developer Nate Abele has created a handy extension to the Lithium session helper will will give us exactly what we need.For those not familiar with what a "flash...

PHP CSSReg

PHP CSSReg
Just a quick post to mention the excellent work by Norman Hippert aka @thewildcat, he successfully converted my Javascript based CSSReg into PHP. I was meaning to do this but never found the time so it's pretty awesome that not only did thewildcat convert the code but found some nice bugs in my code and fixed them. Great work Norman thanks very much! PHP CSSReg demo PHP CSSReg source code * * Note image proxying is missing, you must either use a image proxy or read the image files using a php script to...

Top 10 Wrong Ideas About PHP That You Should Get Right

Top 10 Wrong Ideas About PHP That You Should Get Right
Top 10 Wrong Ideas About PHP That You Should Get Right By Manuel Lemos PHP is often a misunderstood language by people that either love or hate it. On one side there are developers that hate PHP apparently because they do not quite understand how it works. They do not respect PHP and prefer other languages. So they loose many opportunities to make good money from the PHP market, which has so many high paying jobs for qualified developers. On the other side there are developers that love PHP but do not...

Site News: Blast from the Past - One Year Ago in PHP

Site News: Blast from the Past - One Year Ago in PHP
Here's what was popular in the PHP community one year ago today:Pique Web Podcast: Pique Web Episode 3 - Sessions, accounts, and the PHP Anthem SitePoint PHP Blog: How to Upload Large Files in PHP Michael Babker's Blog: The Death of Joomla! - Negative Attitudes & Closed Minded Leadership Pablo Viquez's Blog: MySQL Profiling and Zend Framework Richard Thomas' Blog: Solar Framework Shorts - Controlling form layout Kevin Schroder's Blog: You want to do WHAT with PHP? Facebook Engineering Blog: HipHop for...

Flow-based programming for PHP

Flow-based programming for PHP
You may have seen my earlier post about NoFlo, the flow-based programming tool I've written for Node.js. It allows you to do quite cool stuff, like a visually controlled web server: Yesterday Igor Wiedler published Evenement, a PHP port of the EventEmitter class from Node.js. As NoFlo builds quite heavily on EventEmitter, I decided to see how far the PHP port could be taken.As result, there is now PhpFlo, a flow-based programming environment for PHP.Example of how to define and run a flow (you can also...

PHP 5.3.7 Released!

PHP 5.3.7 Released!
The PHP development team would like to announce the immediate availability of PHP 5.3.7. This release focuses on improving the stability of the PHP 5.3.x branch with over 90 bug fixes, some of which are security related.Security Enhancements and Fixes in PHP 5.3.7:Updated crypt_blowfish to 1.2. (CVE-2011-2483)Fixed crash in error_log(). Reported by Mateusz KocielskiFixed buffer overflow on overlog salt in crypt().Fixed bug #54939 (File path injection vulnerability in RFC1867 File upload filename)....

HowToForge.com: Installing Cherokee With PHP5 And MySQL Support On Ubuntu 11.04

HowToForge.com: Installing Cherokee With PHP5 And MySQL Support On Ubuntu 11.04
On the HowToForge.com site there's a new tutorial stepping you through the process of getting Cherokee+PHP+MySQL working on an Ubuntu linux installation.Cherokee is a very fast, flexible and easy to configure Web Server. It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI, TLS and SSL encrypted connections, virtual hosts, authentication, on the fly encoding, load balancing, Apache compatible log files, and much more. This tutorial shows how you can install Cherokee on an Ubuntu...

IBM developerWorks: Hook into Wikipedia information using PHP and the MediaWiki API

IBM developerWorks: Hook into Wikipedia information using PHP and the MediaWiki API
On the IBM developerWorks site, there's a tutorial from Vikram Vaswani showing you how to connect to Wikipedia's API in your PHP application. It shows how to fetch, search and update entries through their backend. The tutorial's a little bit older (from May 2011) but the content is still relevant.Wikipedia is the ultimate online encyclopedia, containing millions of entries on different aspects of human knowledge. Web application developers are able to access and search these entries through the Wikipedia...

Script-Tutorials.com: Protection and Methodologies of Security Vulnerabilities in Web Development

Script-Tutorials.com: Protection and Methodologies of Security Vulnerabilities in Web Development
On the Script Tutorials blog today there's a good summary post reminding you of some of the common security issues that your web application can face, mostly due to improper validation and filtering.Our new article focuses on security in web. Many beginners (and not only) web programmers sometimes can make mistakes when developing its web applications. Our article is intended to eliminate potential gaps in knowledge web developers. It is quite possible that you already know something, but I'll be...

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 1

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 1
Michelangelo van Dam continues his "Quality Assurance in PHP projects" series in his latest post, the first of a few, about using PHPUnit to test your application.Of all tools available for improving quality assurance, there's one tool that is the core tool you have to master: PHPUnit. PHPUnit is a complete testing framework crafted by Sebastian Bergmann (@s_bergmann), who ported existing xUnit frameworks to PHP. And with this testing framework you're able to test your functionality in an automated way...

Ade Slade's Blog: Implementing Twitter sign-in with Silex and PHP

Ade Slade's Blog: Implementing Twitter sign-in with Silex and PHP
Ade Slade has written up a quick new post to his blog today showing how you can use the lightweight Silex framework to link your login with Twitter and validate users from their API.For those not acquainted with Silex: Silex is a PHP microframework for PHP 5.3 A microframework provides the guts for building simple single-file apps. It's awesome. For the example, I've setup a virtual host of example.local on my development machine.He includes the contents of the .htaccess you'll need to get the rewrite to...