What is the default Maximum file upload size and how to change it?
By default Maximum file upload size is 128MB. php_value upload_max_filesize 128M php_value post_max_size 128M If you want to change the default Maximum file upload size from 128MB to 1GB, then it can...
View ArticlePHP and Cookies – Creating, Reading and Writing
Web servers are typically stateless entities. That is to say they serve up web pages without regard to who requested the page and with no knowledge of whether that person has previously requested other...
View ArticlePHP Sessions
What is a PHP Session? PHP Sessions allow web pages to be treated as a group, allowing variables to be shared between different pages. One of the weaknesses of cookies is that the cookie is stored on...
View ArticleMigrate WordPress From Localhost To Live Server
You have a working wordpress website on your localhost server and when you need to migrate or copy the same wordpress website to your live server, what should you do ? To install a fresh copy of...
View ArticleImport Huge Database file in phpMyAdmin
Make sure you change both *”post_max_size”* and *”upload_max_filesize”* in your “php.ini” (which is located where your “php.exe” is or C:\xampp\php\). The following example allows you to upload and...
View Article.htaccess and its features
HTACCESS means HyperText Access. .htaccess files should be used in a case where the content providers need to make configuration changes to the server on a per-directory basis, but do not have root...
View ArticleRedirect Link to Mobile Website using .htaccess
Just add the following code in your .htaccess file RewriteEngine on RewriteBase / # prevent looping RewriteCond %{HTTP_HOST} !^m.mysite.com$ # if the browser accepts these mime-types, it's definitely...
View ArticleDifference between Apache server and IIS server
Originally posted on TechThropist Cyber Security:Apache : The Apache HTTP Server, commonly referred to as Apache is a web server software program notable for playing a key role in the initial growth of...
View ArticleDompdf Problem in CentOS
dompdf is an useful plugin to create html to pdf file. It works fine in windows environment but it creates some problem for some version of CentOS operating system. For example, it doesn’t show any...
View ArticleRedirecting client to single domain name.
Originally posted on TechEarth:Here is a problem where a site is hosted under different virtual hosts with different domain names. Example: VirtualHost1 is setup for http://www.example.net VirtualHost2...
View ArticleRedirecting client to single domain name.
Here is a problem where a site is hosted under different virtual hosts with different domain names. Example: VirtualHost1 is setup for http://www.example.net VirtualHost2 is setup for...
View ArticleRedirecting client to single domain name.
Originally posted on TechEarth: Here is a problem where a site is hosted under different virtual hosts with different domain names. Example: VirtualHost1 is setup for http://www.example.net...
View ArticleWhat is SSL Termination and SSL Initiation or SSL offloading
SSL termination (or SSL offloading) is the process of decrypting this encrypted traffic. Instead of relying upon the web server to do this computationally intensive work, we can use SSL termination to...
View Article