PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 5941 to 5960 of 6889

aY Optimized image display using a bin-packing algorithm - Part one

aY Optimized image display using a bin-packing algorithm - Part one
I am currently working on a project that requires (among other things) the ability to display a series of images, whose size is unknown at design time, in such a way that as many of them are visible on the screen at any given time. This is an interesting problem for a number of reasons: first, the solution can be applied to a number of different problems that have nothing to do with images; second, a little tweaking makes this problem a great gateway to building a cool image-display system; and third, it...

PHP Manager 1.0 for IIS 7 - stable release

PHP Manager 1.0 for IIS 7 - stable release
PHP Manager is a tool for IIS 7 that greatly simplifies installation, configuration, management and troubleshooting of PHP in IIS. A beta release of the tool has been published a month ago and since then it has been downloaded nearly five thousand times. Today I am releasing the final stable build of PHP Manager 1.0 for IIS 7, which includes new features and fixes for the bugs reported in the beta release. Both x86 and x64 builds of PHP Manager 1.0 for IIS 7 can be downloaded from the project's page at...

PHPMagazine.net: Hello PHPUG ?!

PHPMagazine.net: Hello PHPUG ?!
On the PHPMagazine.net site there's a new article about PHP user groups and some of the resources that can be used to help find one in your area.Part of this community a lot of core developers, documentation editors, web application developers, hackers, Quality assurance team, tons of open source projects, PHP UG around the world, and many many other people contributing each one in its category, and even friends and family! Users Group are an active element of the PHP ecosystem, and I believe that...

PHP-Code.net: Securing PHP Applications Part II - Securing PHP code

PHP-Code.net: Securing PHP Applications Part II - Securing PHP code
On PHP-Code.net they've posted the second part of a series looking at securing your PHP applications from potential problems that security flaws could cause for your site. (You can find part one here).There are a lot of books treating this issue. So, why another post about this subject. Well, here a try to cover this problem in a short way so that you don't have to read hundreds of pages or to search all over the Internet for this. These being said, you must know that securing a PHP application is not an...

Fast Multiple String Replacement in PHP

Fast Multiple String Replacement in PHP
At work, we added a language filter to Ning Pro last month. It lets Network Creators have naughty words (for the Network Creator's definition of "naughty") replaced with * characters. A straightforward way to do this in PHP is to pass an array of words to look for and their replacements to a function like str_replace() or str_ireplace(). Or, similarly, use a regular expression that gloms the search terms together (and potentially checks word boundaries.) There are assorted WordPress plugins that work...

Amazon Web Services Blog: New AWS SDK for PHP

Amazon Web Services Blog: New AWS SDK for PHP
On the Amazon Web Services blog there's a new post about the release of their new AWS SDK for PHP that use can use to directly access their web services features from your PHP applications.The first release supports a large subset of our infrastructure services including the Amazon Elastic Compute Cloud (EC2), the Amazon Simple Storage Service (S3), Amazon CloudFront, Amazon CloudWatch, Amazon SimpleDB, the Amazon Simple Notification Service (SNS), the Amazon Simple Queue Service (SQS), as well as Amazon...

asp.net oracle padding flaw - question?

asp.net oracle padding flaw - question?
By now many of you have heard of the ASP.NET Oracle Padding Flaw. There's a number of posted workarounds, and MS will be issuing a patch soon to fix things. From threatpost.com: The problem lies in the way that ASP.NET, Microsoft's popular Web framework, implements the AES encryption algorithm to protect the integrity of the cookies these applications generate to store information during user sessions. A common mistake is to assume that encryption protects the cookies from tampering so that if any data...

Zend Developer Zone: Manipulating Configuration Data with Zend_Config

Zend Developer Zone: Manipulating Configuration Data with Zend_Config
On the Zend Developer Zone there's a new tutorial from Vikram Vaswasi about working with the configuration data from your files (in multiple formats like XML and the more traditional INI) with the help of the Zend_Config component of the Zend Framework.Thus far, I'd been using a hand-rolled library for this task; however, this library was now fairly dated and didn't take advantage of many of the newer PHP 5.x features and so, I'd been looking for a more modern replacement. Zend_Config seemed to meet my...

Lorna Mitchell's Blog: Authenticating with OAuth from PHP

Lorna Mitchell's Blog: Authenticating with OAuth from PHP
Lorna Mitchell has posted about her experiences with getting OAuth working with her PHP application by way of the PECL package that adds support into PHP.I've been looking into OAuth recently and really like what I see, so I started looking at actually starting to play with something that uses it (and isn't twitter). In the pursuit of this, I spent some time walking through the process of how to actually authenticate using OAuth, as a client.She briefly touches on the consumer key and secret and how...

PHP SDK for Amazon Web Services

PHP SDK for Amazon Web Services
Yesterday, Jeff Barr announced Amazon's own PHP SDK for their web services - own, because AWS hired CloudFusion's lead developer earlier this year (in March) and I guess after a while they decided it was time to incorporate his open source efforts into the company. The full story is on getcloudfusion.com. So what?What's more than just pretty interesting about all of this, is that not only is the AWS PHP SDK hosted on Github (bonus points for sure), but since it implements almost the entire API of all...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Translation and Dictionary Page Control Class Simple MySQL Query Barcode PHP S-mail MySQL Newsletter

ZendCon 2010: 3 Questions for Michaelangelo van Dam

ZendCon 2010: 3 Questions for Michaelangelo van Dam
ZendCon is coming up and for those attending for the first time, let's take a minute or two to meet some of the people involved. Today's special guest is Michaelangelo (DragonBe) van Dam. Mike is hosting the 4th annual ZendCon UnCon. If you are planning on attending, you will want to know Mike. If you are still on the fence, maybe knowing who the players are will help you decide to get your ticket now.

Symfony2 Presentation

Symfony2 Presentation
Last weekend at the PHP Unconference in Hamburg I gave a talk showing an overview of the Symfony2 framework. The allowed 45min were way too short to say everything I wanted to say and I didn't really have time to prepare slides so it was a bit messy, apologies for that. Yesterday I did an internal training at Liip for a team that will start a Symfony2 project soon, and spent some time building slides. This time I had two hours for the presentation so it went way better I think. And then in the afternoon...

PHP Performance Optimization, PHP Code Generation, AppIgnite - Lately in PHP podcast episode 5

PHP Performance Optimization, PHP Code Generation, AppIgnite - Lately in PHP podcast episode 5
PHP Performance Optimization, PHP Code Generation, AppIgnite - Lately in PHP podcast episode 5 By Manuel Lemos On the episode 5 of the Lately in PHP podcast, Manuel Lemos and Ernani Joppert have as guest Jason Roberts, developer of the upcoming Web based application generation AppIgnite. They have discussed several topics of interest like PHP code generation tools for speeding up PHP development, the video of Rasmus Lerdorf talk on PHP performance optimization techniques. They also discuss the reasons...

PHP on IIS: get the latest security updates now

PHP on IIS: get the latest security updates now
This morning Microsoft has released a security update that addresses the ASP.NET Security Vulnerability. The PHP applications running on IIS are subject to this vulnerability if ASP.NET is enabled in IIS. IMPORTANT: Even if PHP applications on IIS do not use any of the ASP.NET features the vulnerability still exists as long as ASP.NET is enabled. It is recommended to install the security update as soon as possible. The security update is available today via the Microsoft Download Center. In a next few...

Community News: ConFoo Opens Call for Papers

Community News: ConFoo Opens Call for Papers
The organizers for this year's Confoo conference have officially opened the Call for Papers for next year's (2011) event (happening March 9th through the 11th in Montreal).ConFoo is launching its call for speakers for the 2011 conference. With more than 500 attendees, ConFoo is one of the largest Web development conferences in North America. We are looking for the best speakers, willing to share their experiences and their skills with programmers and managers (marketing and decision makers). The 2011...

Community News: PHP Barcelona 2010

Community News: PHP Barcelona 2010
The PHP Barcelona group are getting things ready for this year's PHP Barcelona 2010 conference happening at the end of October (the 29th and 20th) at the Citilab-Can Suris building:Come to the Citilab to see Ilia Alshanetsky, Fabien Potencier, Stefan Priebsch, Lorenzo Alberton, Enrico Zimuel and many more open the hood and expose the secrets of PHP and PHP related technologies that make the Internet what it is today, and that power what the Internet will be tomorrow. The PHP Barcelona Conference 2010...

Ibuildings techPortal: Video Interview: Thijs Feryn

Ibuildings techPortal: Video Interview: Thijs Feryn
The Ibuildings techPortal has posted an interview with Thijs Feryn that they recorded at this year's Dutch PHP Conference where he was a speaker (a recording of the talk can be found here).This year at the Dutch PHP Conference, we managed to capture some of our speakers on camera, and asked them about their talks and about the event itself. Read on for the video interview we did with Thijs Feryn - you can also get the audio from his talk PHP Through the Eyes of a Hoster which was published here on...

Larry Garfield's Blog: Architectural priorities

Larry Garfield's Blog: Architectural priorities
Larry Garfield has a recent post to his blog that outlines what he thinks are some of the top priorities you should take into consideration when architecting your next application - small or large - and lays that structure on top of what the Drupal project is doing.Understanding architecture, and the trade-offs that different architectures imply, is an important part of any software project. [...] To be able to speak and think about the design of your system properly, though, you need to understand the...

Cats Who Code: 10 useful new WordPress hacks

Cats Who Code: 10 useful new WordPress hacks
The Cats Who Code blog has some handy WordPress tips for those out there using the popular software to power their sites. These ten tips cover a wide range of subjects, so hopefully you'll find one of use to you in the list.WordPress is the platform of choice for most bloggers, and WordPress hacks is one of the most popular topics on CatsWhoCode. This is why I've decided to compile 10 new and extremely useful hack for WordPress.Here's their list of ten - some most include code snippets you can cut&paste...

Latest PHP Tweets