by Amit | Nov 14, 2021 | adsense
CPC stands for Cost Per Click. It’s the revenue you earn as a publisher when someone clicks on your ad. The Cost Per Click for any ad is determined by advertiser . Some advertisers pay more per click then others depending on what type of ad they are advertising....
by Amit | Nov 11, 2021 | Apache mod-rewrite and htaccess related Articles
This article explains how to set an http cookie for a specific http_host header with htaccess file using mod_rewrite. With mod_rewrite we can set cookies using [CO] flag. CO is used to set cookies in htaccess when a specific RewriteRule or the rule containing...
by Amit | Nov 9, 2021 | Apache mod-rewrite and htaccess related Articles, PHP
In PHP the default value of upload_max_filesize is 2MB and the default value for post_max_size is 8MB on the server but you can increase or decrease this size limit by modifying your php.ini or . htaccess file using post_max_size and upload_max_filesize . You can...
by Amit | Oct 11, 2021 | Apache mod-rewrite and htaccess related Articles
This article explains how to redirect website traffic to one single page named maintenance.php using RewriteRule in htaccess file . With htaccess you can forward your all site traffic to one page when your site goes in maintenance mode or when you are working on your...
by Amit | Aug 19, 2021 | Apache mod-rewrite and htaccess related Articles
This article explains how to redirect an IP hostname to domain name using a RewriteRule directive in htaccess file. Every domain name on the internet has an unique IP address assigned to it that connects the domain to internet. If your website is accessible with both...
by Amit | Aug 12, 2021 | Apache mod-rewrite and htaccess related Articles
This article explains how to change an uppercase URI string to lowercase with mod_rewrite in an .htaccess file. With htaccess you can easily convert upper-case characters in URL path to lower-case. With just a few modifications and by adding a few lines of code you...
by Amit | Jul 30, 2021 | PHP
This article explains how you can access and manipulate MySQL database using MySQLi Object-oriented interface in PHP. This article covers the following MySQL statements with code examples. The code examples are pasted in the textarea so you can easily copy then edit...
by Amit | Jul 29, 2021 | Apache mod-rewrite and htaccess related Articles
This article explains how to prevent or block directory listing on Apache web server using an htaccess and server.config files. What is directory listing or directory browsing When you request an existent directory on Apache an index file is served but if your...
by Amit | Jul 17, 2021 | Windows
Microsoft is going to release Windows11 this year with some exciting features and a brand new design. Windows11 is the next windows operating system which is the improved version of windows 10. The new version of Windows has many exciting features and new application...
by Amit | Jun 16, 2021 | Apache mod-rewrite and htaccess related Articles
Query strings are part of URL that usually appear at the end or before fregment. A typical query string looks something like the following : ?q=foo&bar=123 Query string in URL starts with a question mark and it contains query key and value parameters. In the...