regular expression

Sameer Borate's Blog: Grabbing the referrer search engine keywor...

PHPDeveloper.org  Tue, 10/18/2011 - 12:25

On his blog today Sameer Borate has a new post with a handy bit of code you can use to find the keywords from a search engine referral to help with tracking how visitors have come to your site.


 

Leonid Mamchenkov's Blog: PHP regular expression to match Englis...

PHPDeveloper.org  Thu, 08/18/2011 - 11:11

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).


 

PHPBuilder.com: Harness the Scripting Power of PHP and cURL to U...

PHPDeveloper.org  Wed, 02/16/2011 - 13:30

On PHPBuilder.com today there's a new article from Marc Plotz looking at how you can use PHP and cURL with Facebook to update your status.


 

How to Create Your Own Twitter Widget in PHP, Part 2 - SitePoint...

Planet PHP  Wed, 01/05/2011 - 11:35

In part 1 of this series, we examined the Twitter API, creating a PHP TwitterStatus class, and imported the latest tweets in JSON format.

Today, we’ll populate the data into html templates — download the full source code here.

Template parsing

We have defined two html templates as public properties:


 

Sameer Borate' Blog: Creating SQL schemas with Doctrine DBAL

PHPDeveloper.org  Wed, 12/22/2010 - 14:25

On his blog today Sameer Borate has a new post looking at using Doctrine DBAL to make schemas rather than having to make them by hand each time (can be very useful for reloads with fixtures).


 

David Sklar's Blog: Fast Multiple String Replacement in PHP

PHPDeveloper.org  Fri, 10/01/2010 - 09:09

David Sklar has a new post to his blog today sharing an extension he's created to make replacing strings in PHP a much faster task - Boxwood.


 

Zend Framework Proposal: Zend\Html\Filter (html Sanitisation And...

Planet PHP  Mon, 09/06/2010 - 02:33

For a while now, I've been keen to build a html Sanitisation solution for PHP. Where else would I end up putting it other than in Zend Framework?

As I've explored in past articles [1] [2], html Sanitisation in PHP is a very inconsistent practice.


 

html Sanitisation Benchmarking With Wibble (ZF Proposal) - Pádr...

Planet PHP  Thu, 07/08/2010 - 14:50

In January of this year, I had the idea of writing a html Sanitiser for PHP. Why not? All PHP has is htmlPurifier and a bunch of random solutions that are about as secure as the average wooden gate.

If you think that's harsh, wait for my next blog post ;-). htmlPurifier is the only secure by default html Sanitiser in PHP.

Fact. But the darn thing is gigantic and slow.


 

Regular expression sandboxing - Gareth Heyes

Planet PHP  Wed, 05/05/2010 - 07:15

Birth of the regex sandbox

I decided today to do a proper blog post to explain my reasons for creating regex sandboxes.

I don’t often write a lot of words on this blog partly because I’m not very good a making long meaningful sentences and partly because I think the point can often be made in less words.

Hopefully this will be useful for someone writing filters.


 

Regex Clinic on Slideshare - Andrei Zmievski

Planet PHP  Mon, 05/03/2010 - 11:22

Back in 2004, I submitted a proposal to the only PHP conference ever to have taken place aboard a cruise ship.

Yes, the infamous PHP Cruise (“Do we all know each other?”). The talk was about regular expressions and their usage in PHP.

I wrote the original version in PowerPoint, but when I boarded the ship and saw Keynote 1.0 on someone’s Powerbook, I was hooked and had to port all the slides to Keynote right then and there.