What is JDBC? JDBC(Java DataBase Connectivity) is used for connecting to different database by which user can shift from one database to another database very easily in platform independent manner. JDBC contains set of functions & specification in the form of packages i.e.: java.sql.*–Core SQL Package javax.sql.*–Extended SQL Package JDBC Driver act like an interface between front end application and…
Fetch GooglePlus Feeds to your website using PHP
PDO(PHP Data Object) : PDO is a PHP extension for accessing databases in PHP. Advantages: 1) Security : In MYSQL connection we manually sanitise using mysql_real_escape_string() functions in order to avoid SQL injections. But with PDO this is all taken care for us and means we no longer have to worry about SQL injection. 2) Performance : PDO…
In WordPress, Maximum upload file size will not change even when changed in the php.ini file. Here are the steps to change the Maximum upload file size within WP admin: 1. At the top, hover over My Sites and then click Network Admin 2. At the left, hover over Settings and then click Network Settings….
Checking if URL contains “HTTP” OR “HTTPS” Code Note: parse_url : Parse URL ans returns its components.
Options +FollowSymlinks RewriteEngine on RewriteRule ^(.*)\.htm$ $1.php [nc]