PHP Captcha
PHP Captcha is used to protect forms from unwanted spam access and abuse. CAPTCHA is a randomly generated code. It is produced in run time....
PHP Captcha is used to protect forms from unwanted spam access and abuse. CAPTCHA is a randomly generated code. It is produced in run time....
You can edit PHP code and view the result in your browser using online PHP compiler (editor)....
how to download and install wamp server? Wamp Server is used to create web applications with Apache2, PHP and a MySQL database. Alongside, PhpMyAdmin allows you to manage easily your databases....
PHP round() function is used to round a floating point number....
PHP Date function is used to format a local time/date....
what is cURL in php? - The cURL is a PHP based library and a command line tool that helps you transfer data over FTP, TPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE, and LDAP....
NULL is PHP data type which returns no value. We can initialize variable with NULL value in php...
php time function is used to get current Unix timestamp....
GET and POST are two different types of HTTP requests to send data from client to server in HTTP.What is the difference between POST and GET?...
PHP Interview Questions are asked by IT company for php developer job...
How to validate email address using php code?...
php code to validate phone number. How to validate phone number using php? ...
An exception is an event that occurs during the execution of a program that disrupts the normal flow of execution of the application. An exception can be handled by keywords like try,catch,throw, finally in php...
How to import large database file for mysql? Big Dump MYSQL file using php....
How to integrate simple PHP CAPTCHA script?Many times public form will spam data. We can prevent spamming data using PHP CAPTCHA script....
Magic methods are special methods that are used to perform certain tasks in PHP. Magic methods are started with double underscore (__) as prefix. The function __construct(), __destruct(), __call(), __callStatic(), __get(), __set(), __isset(), __unset(), __sleep(), __wakeup(), __serialize(), __unserialize(), __toString(), __invoke(), __set_state(), __clone() and __debugInfo() are called as Magic Methods in php...
If method have same name and different quantities and types of parameters, then it is called as Method Overloading in most object oriented languages. But in php, magic methods are used to achieve method overloading....
The final keyword can be used to prevent class inheritance. The final keyword can be used to prevent method overriding....
If both parent and child classes have same function name with number of arguments, then it is called Method Overriding in php object oriented programming....
What is Inheritance? When the child class can inherit all the public and protected properties and methods from the parent class, it is called Inheritance....
What is difference between Abstract class and Interfaces in php?...
What is an interface in php? An interface contains All abstract methods by default. An interface doesn't have any common methods. Methods of interface do not have any implementation part. Methods of interface are only declared....
What is an abstract class in PHP? An abstract class is a class that contains at least one abstract method. An abstract method is a method that is declared, but not implemented in the code....
$this keyword is used to access properties and methods in a class. $this is uded to point to the current object of class in php....
A destructor is called when the object is destructed or release any object from its memory. You can define destructor by using __destruct function....
A constructor is a method defined inside a class which is called automatically when object is created. A constructor is used to initialize the object....
What is Access Modifiers in php oops? PHP access modifiers are used to provide access rights with PHP classes and their members that are the functions and variables defined within the class scope....
An Object is an instance of class. PHP Object is used to access properties and methods of class. A variables are called properties and functions are called methods in class....
PHP class is collection of objects. Classes are the blueprints of objects.PHP Class includes local methods and local variables....
PHP OOP is Object-Oriented Programming. Procedural programming is about writing procedures or functions that perform operations on the data while object-oriented programming is about creating objects and class that contain both data and functions....
PHP Functions is used to reuse php code. PHP Functions contains a piece of code which takes one or more parameter as input and make some processing on it and returns a value....
We can send attachments with email using mail() function. You will have to set Content-type header to multipart/mixed. Then text and attachment sections can be specified within boundaries....
PHP mail() function is used to send HTML email. HTML email message contails HTML tags like image, table, link, banners etc....
Learn PHP mail() function tutorials. PHP mail() function is used to send eamils. We can send text email, HTML email, attachments with email using PHP mail() function....
PHP Error is some fault or mistake in a coding program. Error may occur due to incorrect syntax or wrong logic. It is a type of mistakes or condition of having incorrect knowledge of the code. There are 4 mainly types of errors occured in PHP like Fatal Error, Syntax Error or Parse Error, Warning Error, Notice Error ...
Error handling is the process of catching errors occured by your program and then taking appropriate action. PHP system provides many error handling methods to manage errors occured during execution time. There are various different error handling methods like die() function, Defining Custom Error Handling Function and Error reporting ...
The header() function sends a raw HTTP header to a client. The PHP header() function does not return any value.Learn PHP header PHP header tutorials easy....
PHP allows you to upload single and multiple files to server. Learn PHP File Upload tutorials easy. move_uploaded_file() function or copy() function is used to upload file in server. ...
PHP File System allows us to create file, read file line by line, read file character by character, write file, append file, delete file and close file. PHP provides fopen(), fclose(), fread(), fwrite(), unlink() function to manipulates files....
PHP POST and GET Method are used to retrive data from another page or same page which are sent by FORM. Data sent by post request can be retrived by $_POST variable. Data sent by get request can be retrived by $_GET variable. ...
PHP Include and Require function or statement are used to include PHP, HTML, or text on multiple pages of a website. One file can use code of another file using PHP Include and Require function....
PHP Arrays is used to save multiple values in a single variable. PHP array is variable which can store more than one value at a time....
PHP Data Types is used to store different type of value like integer, character, string, array, float, decimal, date, boolean etc. in varaibale....
Magic constants are the predefined constants in PHP which is changed depending on where they are used. They start with double underscore (__) and ends with double underscore.Learn PHP Magic Constants tutorials easily....
Value of PHP Constants can not be changed during the execution of the script. PHP Constants is an identifier or name which contains value....
Assigned by $ sign variable is normal variable and $$ sign variable is reference variable. Single dollar sign ($) assigned variable ($str) stores any value like string, integer, float, data, char, double etc. Double dollar sign ($$) assigned variable ($$str) stores value of the $str inside it....
PHP Comments can be used to hide portion of code line and code description in php programming code. PHP Comments line code can not be executed. programmer can use PHP Comments to describe code details....
PHP print statement is used to print the string, multi-line strings, escaping characters, variable, array, number etc. Learn PHP Print statement ...
The PHP continue statement is used to continue the loop if a specified condition occurs. Learn PHP continue Statement....
PHP break statement stop the execution of the current Control loop Statement like for, while, do-while, switch, and for each loop. If you use break statement inside inner loop body, it breaks the execution of inner loop only. The break statement can be used to jump out of a loop.Learn PHP Break tutorials....
Learn PHP do while loop tutorials. The do while loop executes a block of code once and then runs the loop as long as the given condition is true.PHP do while loop executes the code at least once always...
Learn PHP While Loop Control Statement. PHP While Loop executes block of code as long as given condition is true....
The foreach loop is used to get each element value in an array. foreach loop is used to loop through each key/value pair in an array. Learn PHP foreach loop tutorials....
PHP For Loop is Control Statement which can be used to run block of code for the specified number of times....
PHP switch statement is used to execute one statement from multiple conditions. It works like PHP if-else-if statement....
Learn PHP if..else..else if Statements.PHP if..else..else if Statements are Conditional statement which are used to perform different actions based on different conditions....
PHP session is used to store data on server side. session_id is a unique number which is used to identify every user in a session based environment.Learn php session tutorials...
PHP Cookies are stored on the client side. PHP cookies are not as secure as sessions.Learn php cookies....
PHP provides various string functions to access and manipulate strings. Learn PHP String Functions like strlen(),strtoupper(),stripslashes(),str_replace(),strlen() etc. ...
Learn PHP Echo Statement. PHP echo statement can be used to print the string, multi-line strings, escaping characters, variable, array, number etc...
Learn How to Install PHP. You can install php using WAMP for Windows, LAMP for Linux, MAMP for Mac, SAMP for Solaris, FAMP for FreeBSD, XAMPP (Cross, Apache, MySQL, PHP, Perl) for Cross Platform: It includes some other components too such as FileZilla, OpenSSL, Webalizer, Mercury Mail, etc....
what is difference between php4 and php5?...
Learn Tutorial How to parse xml using php.XML is the acronym for Extensible Markup Language. XML is used to structure, store and transport data from one system to another. It uses opening and closing tags. ...
Learn PHP interface in OOPs Tutorial. Interface OOPs can be used to access the properties of another class....
Learn Session Management using php Tutorial . Session variable is used to store data in php. we can configure and manage session using php.ini file....
Learn PHP Variable. PHP variable starts with the $ sign followed by the name of the variable. i.e $x, $y, $z. ...
The PHP syntax and semantics are the format and the related meanings of the text and symbols in the PHP programming language. They form a set of rules that define how a PHP program can be written and interpreted...
PHP is an open-source, interpreted, and object-oriented scripting language that can be executed at the server-side. PHP is well suited for web development. Therefore, it is used to develop web applications that executes on the server and generates the dynamic page....