Archive for the PHP Category
Automating the Copyright year information
This trick is really basic but is useful for automating an important information for your blog. If you have a copyright information defined anywhere in your blog with the year in it(usually present at the footer), then you might have to change the year everytime and sometimes you just forget. This i
Read Full PostUsing JSON with PHP, javascript |Tutorial 1
Hi Programmers, Heard about JSON, and wandering how the hell you gonna implement it with PHP. And why would one use JSON when you have ajax and other alternatives. Well first of to understand JSON, i would recommend you to go through the JSON introduction part which i covered in my earlier post.
Read Full PostPHP Interview for Beginners/Novice/Freshers | Part 1
Hi all, Well i understand that PHP today is everyone's favorite technology today. And i must confess that this web scripting language not only gave me financial gains in my life but also is responsible for my social well being. People do regard me as a PHP guru and not just a lost geek any more.
Read Full PostNew php framework PalDB, supports MVC and Database ORM
Well PalDB is yet another framework for PHP. PalDb is a fast and powerful database abstraction layer and ORM. While it is not as full-featured as Doctrine or Propel, it comes quite close when you use it with MySQL. It shares Pal's paradigms of simplicity and elegance. Features You can use PalDb in t
Read Full PostIts a framework world!!
Gone are the days when you need to start writing you code from the scratch. I personally "used to be" a strong promoted of scratch coding, where in i used to do the following task to achieve better code development. Create proper folder structure Use a templating engine Define generic classes fo
Read Full PostDetect chrome using php
The other day i was coding arround and i found that i need to know if the user is using the new shiny browser chrome. So for that i wrote a small snippet and wanted to share with you guys. Here is how we do in php. function is_chrome() { return(eregi("chrome", $_SERVER['HTTP_USER_AGENT'])
Read Full PostReflection API support now in PHP 5.1.3
PHP is now no where treated as weak language, day after day and with every next release of php's new version more of the robust features are being added. Now this time, i was going through the PHP's RSS feeds and i realized that now reflection fuctionality is also supported by PHP v 5.1.3 It makes
Read Full PostPHP 5.3 changes on Microsoft windows
PHP 5.3.0 is only in its first alpha release. But, if you run PHP in Microsoft Windows, you should talk a look at… Release Notes for Windows Binaries (for PHP 5.3.0) Here are the important changes: - Support for Windows versions prior to Windows 2000 have been dropped. If you run PHP on Windows
Read Full Post