PHP Programming: The difference between require() and include()

advertisement

php, programming, php programming, open source, php function
Many friends ask me what’s the difference between require() and include(). Here is the explaination from PHP manual.

From PHP manual:-

require() and include() are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error. In other words, don’t hesitate to use require() if you want a missing file to halt processing of the page. include() does not behave this way, the script will continue regardless. Be sure to have an appropriate include_path setting as well.

Continue reading PHP Programming: The difference between require() and include() »

How to Standardize Folder view setting in Microsoft Window XP

advertisement

Have you ever look for a way to standardize all the folder view setting in win xp? Or looking for way to set all the folder view in a same way?

Here’s the solution to set all the folder to have the same view setting:-
Continue reading How to Standardize Folder view setting in Microsoft Window XP »

How to flush DNS cache in Linux / Windows / Mac

advertisement

Flush dns to get a new name resolution. Also flush dns cache when you can’t access a newly registered domain name. You can simply flush your dns cache anytime to get new entry. So, Flush your dns cache now.

To flush DNS cache in Microsoft Windows (Win XP, Win ME, Win 2000):-

– Start -> Run -> type cmd
– in command prompt, type ipconfig /flushdns
– Done! You Window DNS cache has just been flush.

To flush the DNS cache in Linux, restart the nscd daemon:-

Continue reading How to flush DNS cache in Linux / Windows / Mac »