php

Inactive in site then auto logout using php

Hi friends, I have the requirement that when a user login in the site and he/she inactive in the site more than 5 minutes then user will logout from the site.
For this i followed below code and i succeed, In the login.php file : Read more..

Faster PHP fo shizzle—HipHop for PHP

Since apparently, I was the first person to ever publicly spill the beans on HipHop, I need to do penance by clarifying what HipHop is and what it means for PHP.
For those of you who don’t have time to read the rest, here is what HipHop for PHP is:

  • HipHop is a PHP-to-C++ cross-compiler. What this means is it takes PHP code and translates it into C++ code for further compiling. It is not another language. It is not a just-in-time compiler (JIT).. Read more..

Debug PHP with Firebug and FirePHP

If you’re anything like me, you’d sooner forgo water than Firebug when working on a web project. The little ’bug is a fantastically useful HTML/CSS/JavaScript/Ajax debugger. But did you know it can also be used to debug PHP? Yes, thanks to an additional Firefox extension called FirePHP. Read more..

Boost your PHP Performance 50% with HipHop

No, I’m not talking about a break-dance move that will magically give you extra PHP performance. I’m referring, rather, to a new open source project announced by Facebook. HipHop is a “source code transformer” designed to reduce CPU and memory usage by transforming your PHP code into C++ code. Read more..

Practical Php Patterns: Chain of Responsibility

The first behavioral pattern of this part of the series is named Chain of Responsibility. Its intent is organizing a chain of objects to handle a request such as a method call. When a ConcreteHandler does not know how to satisfy a request from a Client, or it is not designed at all to do so, it delegates to the next Handler in the chain, which it maintains a reference to. Read more..

Comparing Wordpress, Drupal, and Joomla's Websites

There are far too many posts comparing three of the largest PHP-coded Open Source CMSs: Drupal, Wordpress, and Joomla. They each have their own merits and place in the world. Today I felt the need to look at all three project homepages to see what the projects have to say about themselves. I found some interesting things that might shed some light onto the different projects. read more...

Coderun - online IDE

Coderun is a free, cross-platform browser-based IDE. Runs in IE, Firefox, Chrome and Safari. Main page, IDE, jquery sample
 

Distribuir contenido