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… (16 comments)

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…

How to use Google with .com instead of country extension or force your browser to open google.com?   You have observed that whenever you open http://www.google.com, in your browser’s address bar, you are redirected to the local Google domain of your country (http://www.google.co.in for India, .pk for Pakistan, .lk for Sri Lanka etc).   Google… (1 comment)