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 [...]
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 [...]
Recent Comments