php

File Handling in php

For reading file there were two functions available. int readfile ( string $filename , bool $use_include_path = false , resource $context ) This function will returns entire file as a string, also display no of character available in files at last. use_include_path First you need to set optional path if you want to use this… Continue reading File Handling in php

php

What is Interface ? Benefit’s of interface. and What is the requirement to use interface? with example.

A device or program enabling a user to communicate with a computer ! The user interface allows the user to communicate with the operating system. user interface          – the keyboard, mouse, menus of a computer system. software interface    – the languages and codes that the applications use to communicate with… Continue reading What is Interface ? Benefit’s of interface. and What is the requirement to use interface? with example.