Scribbles about PHP

[ Page 2 ]

For the most part, we favour PHP as the scripting language of choice. Not particularly because we think it’s the best scripting language out there, but because that’s what we’re trained in. For that reason, we’ve dedicated this PHP section, where we’ll be indulging ourselves with PHP tips, tricks and banter

Image frame
2-Dimensional Arrays In PHP

2-Dimensional Arrays In PHP

I LOVE arrays. They make life so much easier and efficient. At first they can be quite difficult to get the hang of, but once you capture the basics, everything really does start to make sense. Each time I play with arrays I seem to learn something new. Here’s just a quick reminder to myself [...]



Maruf scribbled this post.
0
PHP
Oct 7th, 2008
Image frame
PHP- Count Files In A Directory

PHP- Count Files In A Directory

I’ve just added a new feature to the Team page, where i’ve added a small CSS image gallery. So now you can see multiple images of the awesome BrightCherryteam! I like everything to be automated so there is very little input from a human to make things work. To help make the thumbnail image gallery [...]



Maruf scribbled this post.
9
PHP
Sep 6th, 2008
Image frame
PHP: Remove Everything But Letters And Numbers – Reg Expressions

PHP: Remove Everything But Letters And Numbers – Reg Expressions

I always forget this PHP function, but I’m finding myself regularly needing it. I thought I’d just jot it down for my own reference and for anyone else who might need it. Function: ereg_replace What this function basically does is remove all characters from a string which isn’t a letter or a number. It can [...]



Maruf scribbled this post.
9
PHP
Jul 15th, 2008
Get a free quote