Quantcast
Channel: Christian Roy - PHP
Browsing latest articles
Browse All 10 View Live
↧

I am profiling too!

Earlier this year (march 2007) I went to the PHP Quebec Conference in Montreal where I met Rasmus Lerdorf. He gave a very interesting presentation where he talked about various things, including...

View Article


Under used resources - Get all the answers

In any development shop with more than one developer, there is always at least one developer that is THE reference for the project/platform/framework/cms that most developers go to with questions.Let's...

View Article


Watching a file on disk

Paul Reinheimer wrote an article on a bug he was trying to solve.He wrote: Something I would love to have: An application that watched a file on disk, reporting all versions of the file over time. tail...

View Article

Detecting mod_rewrite using PHP

The following post is about a solution to the problem of detecting if mod_rewrite is enabled or not. I worked on a project where CS-CART was used and after it was installed, it was complaining that the...

View Article

Selenium and popups.

I wanted to write a selenium test script to validate calculation done in a page to make sure they match those of another page. I used the store* functions to grab the values from the source. My problem...

View Article


Reading book: Zend Framework 1.8 Web Application Development

I am currently working on a PHP project which involves creating web services with Zend Framework. I started reading the book "Zend Framework 1.8 Web Application Development" and I plan on doing a...

View Article

Indentation: Tabs vs. Spaces

This is one of these archaic question.Short answer: Spaces, and only spaces.Long answer:Origins The tab key on the keyboard seem to have first been introduced with typewriters and then with computers....

View Article

array_unique returns NULL

I am dealing with legacy code written by another team and someone asked me why his images were not showing up...Took me an hour to dig that one out.Simply because the optional second parameter to...

View Article


Install pear without network (no internet access/offline)

I was faced with a problem. I wanted to use drush on a server that had no internet access. Well, I could connect to it but it could not (for security reasons) connect to the outside world.Drush...

View Article


Removing extra whitespaces on bunch of PHP files using Ack-grep and Emacs

As a follow up to my own post on Indentations: Tabs vs. Spaces, I wanted to cleanup a number of files that contained a lot of extra and useless whitespaces that were getting on my nerves.I did not want...

View Article
Browsing latest articles
Browse All 10 View Live