Logo Background RSS

» PHP

  • High Performance PHP
    By vinu on October 12th, 2006 | 2 Comments2 Comments Comments
    Did you know that the fastest way to check in PHP to see if you’re running on windows is: $iswindows = DIRECTORY_SEPARATOR == '\\\\'; or the fastest way to get the time without even calling a function is: $currentt...
  • How to detect if headers are already sent in PHP
    By vinu on October 6th, 2006 | 1 Comment1 Comment Comments
    I’m sure most of us have encountered the following error message while playing with the header function in PHP “Cannot modify header information - headers already sent by …” How can we detect whether the script h...
  • Swift Mailer - A Pluggable PHP Mailing Library
    By vinu on October 4th, 2006 | No Comments Comments
    If you’re coding an application which has to send out a high volume of emails from the site, PHP’s built in mail function is not the way to go. PHP’s mail function is resource hungry and even a low to m...
  • Php UTF-8 Charsets
    By vinu on September 13th, 2006 | 2 Comments2 Comments Comments
    An interesing article which explains what can go wrong when you’re handing UTF-8 character sets in PHP. The current versions of PHP do mangle up UTF-8 characters when you use the built in string functions in PHP. ...
  • Dynamic PHP
    By vinu on September 11th, 2006 | No Comments Comments
    Another did you know in PHP. < ? function test() { echo "This function can be called dynamically!"; } $function_name = "test"; $function_name(); ?> What is the output of the code show above? If you guessed that the outpu...
  • Browser detection in PHP
    By vinu on September 11th, 2006 | No Comments Comments
    Did you know that PHP has a built in function to detect which browser your visitor is running? Well neither did I till one of my collegues, Ansar, pointed out PHP’s get_browser function. Here’s how to use thi...
  • Mapping in PHP using GD
    By vinu on August 29th, 2006 | No Comments Comments
    If you want to plot Geographical data on a map and want to do it without integrating with third-party API’s like Google Maps, here’s an article which shows you how. The article shows you how to plot points on...
  • Multitasking in PHP
    By vinu on August 21st, 2006 | No Comments Comments
    Here’s an interesting read from Jacob Santos on getting PHP to multi-task. From time to time you hear about multithreading in PHP and how it is impossible. Yes, PHP does take the top-down approach to execution. It ...
  • PHP Interactive - an interactive shell for PHP
    By vinu on August 18th, 2006 | No Comments Comments
    Here’s something interesting. A programming shell for PHP, which allows you to write your code and test it out without having to save your file and firing up the webbrowser each time you want to run the code. PHP ...
  • AJAX ActiveTable
    By vinu on August 8th, 2006 | 3 Comments3 Comments Comments
    Here’s a cool use for Ajax - an active table were users can edit and add columns into a table in HTML. The ActiveTable library creates an editable HTML table from a MySQL database table. Link: AJAX ActiveTable - Jo...

Advertisement