Difference between Abstract class and Interface PHP An abstract class is a class that provides some functionality and leaves the remaining functionality for its child class to implement. The child class must provide the functionality not provided by the abstract class (parent) or else the child class also becomes abstract. To define a…
A Quick view on difference between PHP4 and PHP5 PHP5 has improvements in design, security, and stability as compared to PHP4, there are so many features of OOP added in PHP5 to make it more powerful and useful. If you want more details just go to http://www.php.net and find changes in php. Object Model/Passed…
What are the basic difference between get and post method in php? In form submission with GET method, browser constructs a URL by taking the value of the action attribute appending a? to it, then appending the form data set (encoded using the application/x-www-form-urlencoded). The browser then processes this URL as if following a…
What is the difference between this and self in PHP OOP? PHP classes can have static functions and static variables.Declaring class methods or properties as static make them accessible without needing an instance of the class or an object. Static functions and variables in classes are not associated with any object, but associated…
PHP cURL functions with example cURL is stand for client URL It is a library (libcurl) which allows you to connect and communicate to many different types of servers with many different types of protocols. libcurl supports http, https, ftp, gopher, telnet, dict, file, and ldap protocols. libcurl also supports HTTPS certificates, HTTP POST, HTTP…
HTML form enctype Attribute The HTML form enctype attribute’s main purpose is to indicate how the form data/values should be encoded prior to it being sent to the location defined in the action attribute on the form. for e.g. <form action=”scriptarticle/post_page.php” method=”post” enctype=”multipart/form-data”> By default, form data is encoded to “application/x-www-form-urlencoded” so that…