preload
The “Final” keyword is used to make the class uninheritable. So the class or it’s methods can not be overridden. An Abstract class will never be a final class as an abstract class must be extendabl...
Read More...
Magic methods are the members functions that is available to all the instance of class Magic methods always starts with "__". Eg. __construct. All magic methods needs to be declared as public To use magic method they should be defined within the class or program scope Various Magic Methods used in PHP 5 are: __construct() __destruct() __set() __get() __call() __toString() __sleep() __wakeup() __isset() __unset() __autoload() __clone()...
Read More...
default session time in PHP is 1440 seconds or 24 minutes Default session save path id temporary folder /tmp...
Read More...
There are lot of difference among these three version of php 1)Php3 is oldest version after that php4 came and current version is php5 (php5.3) where php6 have to come 2)Difference mean oldest version have less functionality as compare to new one like php5 have all OOPs concept now where as php3 was pure procedural language constructive like C In PHP5 1. Implementation of exceptions and exception handling 2. Type hinting which allows you...
Read More...
The header() function sends a raw HTTP header to a client.We can use header() function for redirection of pages. It is important to notice that header() must be called before any actual output is seen...
Read More...
Following tables (Storage Engine) we can create 1. MyISAM(The default storage engine IN MYSQL Each MyISAM table is stored on disk in three files. The files have names that begin with the table name and have an extension to indicate the file type. An .frm file stores the table format. The data file has an .MYD (MYData) extension. The index file has an .MYI (MYIndex) extension. ) 2. InnoDB(InnoDB is a transaction-safe (ACID compliant) storage...
Read More...
$name is variable where as $$name is reference variable like $name=sonia and $$name=singh so $sonia value is sing...
Read More...
We can do it by 4 Ways 1. mysql_fetch_row 2. mysql_fetch_array 3. mysql_fetch_object 4. mysql_fetch_ass...
Read More...
There are some defference between GET and POST method 1. GET Method have some limit like only 2Kb data able to send for request. But in POST method unlimited data can we send 2. when we use GET method requested data show in url but Not in POST method so POST method is good for send sensitive reques...
Read More...
preg_match("/^http:\/\/.+@(.+)$/","http://info@pcds.co.in",$matches); echo $matches[1...
Read More...
Inserts HTML line breaks (<BR />) before all newlines in a strin...
Read More...
.htaccess is often the only file we have access to. It lives at the root of a Web site - in the same directory as the default home page of a site - and/or below that in the subdirectories for the site. Therefore, the Webmaster can upload, modify, copy, or move it at will. However, if you administrate your own server, then you'll also have access to httpd.conf, which is one of the server configuration files. It is located along with the rest...
Read More...
Rasmus Lerdorf is known as the father of PHP....
Read More...
 Three are three types of errors: 1. Notices: These are trivial, non-critical errors that PHP encounters while executing a script  for example, accessing a variable that has not yet been defined. By default, such errors are not displayed to the user at all  although, as you will see, you can change this default behavior. 2. Warnings: These are more serious errors  for example, attempting to include()...
Read More...

Contact Us

Gmail
nmohanswe
Facebook
nmohanswe
Twitter
nmohanswe
Skype
nmohanswe