Fresh PHP news, tutorials, tips and much more

Posts Tagged ‘tip’

Handling multiple domains

Wednesday, May 28th, 2008

Hi, I’m back again. Today first post is about great tip how you can handle multiple domains in your web applications.

A case in point: When I coded NetBoardz (my free forum hosting service now defunct), I had one codebase handling all 250 forums. How? Simple. When the code runs, it determines which site the user is loading and does different things (like using different databases) dynamically.

Tip author shows great examples.

Post tagged with: , ,

Posted in Advanced, Beginners | No Comments »

Learn regular expressions

Wednesday, April 30th, 2008

Today Developer Tutorials posted new article how to learn regular expressions in PHP. I added this to advanced section because regular expressions i think is too hard for novices and not only for them.

Love them or hate them, regular expressions are here to stay. When it comes to quickly dealing with large blocks of data, batch processing operations or screen scraping, regular expressions are often the most effective solution. There’s just one problem, though - learning them can be as hard as learning a new language altogether. Here’s how to get off to a flying start.

In this tutorial author collected some good tips and tricks sites where you can learn from. Nice reading.

Post tagged with: , , , ,

Posted in Advanced | No Comments »