Crying Glowing Sun

Posts Tagged ‘Tips

Cache PHP output for high traffic websites. PEAR: Cache_Lite

Posted by: M A Hossain Tonu on: September 25, 2009

Intro…
Now days the WebPages are outcome of heavy script processing in order to provide more dynamicity to page visitors. The utility of server side scripting is to adopt more engineering on web. When the page gets more visitors or becomes more popular, you have to ensure that, that traffic doesn’t stack or queued in front [...]

Tricky concepts in PHP

Posted by: M A Hossain Tonu on: November 18, 2008

Include Vs Require

include() and require() are slightly different. Basically, include is conditional and require is not.

This would include ’somefile’ if $something is true:

if($something){
include(“somefile”);
}

This would include ’somefile’ unconditionally

if($something){
require(“somefile”);
}

This would have VERY strange effects if somefile looked like:

} echo “Ha! I’m here regardless of something: $something<br>n”;
if (false) {

Another interesting [...]

Tags: , ,

Intro

Hi! This is Tonu, I am an Engineer and an open source thinker, graduated from Dhaka University of Engineering and Technology,Bangladesh. with CSE background. Presently employed in an outsourcing software company in Bangladesh as Software Engineer. I love to work with PHP & AJAX. My fav php framework is CodeIgniter. Also my growing interests are on social networking technology and web security.

My Facebook Profile

M A Hossain Tonu's Facebook Profile

Favorite Quota

Good advice is often confusing, but example is always clear.

Follow Me in Twitter :)

My Linkedbd Profile

My Flickr Album

flame2

flame1

flame

S5001990

More Photos

Blog Stats

  • 1,326 hits

RSS DUET Alumni at alumnibd.org

  • An error has occurred; the feed is probably down. Try again later.

Live Traffic Feed