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…
How to force apache to parse html files as php? Below are some reasons why people like to parse HTML file as PHP. Search engines seem to more favor web pages that have .html extension instead of dynamic .php extensions. Converting an old static website into a dynamic website and worry about losing page…
The meta refresh tag or meta redirect is a tool for reloading and redirecting web pages. Meta refresh tag is easy to use, but most don’t know that innocent use of that tag may significantly lower your page rank or even get your pages banned in some of search engines. The meta tag belongs…
Prevent Image Caching & Prevent Browser Caching The Browser(s) saves a copy of a file (like a logo image) and uses this cached (saved) copy on each page that needs the same, but some time you will not need of this i.e you want that every image and CSS and java script should be…
XML parser normally parse all the text in an XML document. Characters such as less than (<), greater than(>), ampersands(&) etc cause problems for the XML processor/parser. “<” parser interprets it as the start of a new element. “&” parser interprets it as the start of an character entity. JavaScriptcode,contains a lot of…