Archive | Computer

Increasing the upload_max_filesize in WordPress Admin

Increasing the upload_max_filesize in WordPress Admin

The default upload file size for WordPress is 2 MB, which is a problem if you want to upload a large media files. If you get this error, “The uploaded file exceeds the upload_max_filesize directive in php.ini”, follow these steps: 1. Locate the php.ini file inside the wp-admin directory. 2. Find this line in the [...]

Read the full story

Posted in Article, Computer, Wordpress0 Comments

How to change the XAMPP server port number

How to change the XAMPP server port number

How to change the XAMPP server port number Why do we need to change the port number? It is very common that a web developer needs to have multiple web servers running, all at the same time. For example, an XAMPP server can be used to run the local wordpress, while a SKYPE or Gtalk [...]

Read the full story

Posted in Article, Computer, Open-Source, PHP, Programming, Tutorial0 Comments

How to create new user in PhpMyAdmin at localhost

How to create new user in PhpMyAdmin at localhost

Go to phpmyadmin at your localhost if you are using xampp server than go with http://localhost/phpmyadmin or if you are using easyphp than go with http://127.0.0.1/phpmyadmin Now you can see different links related to phpmyadmin like database, sql, status, variables etc. Click on Privileges and now you will see different user is availble in your [...]

Read the full story

Posted in Article, Computer, Open-Source, PHP, Programming, SQL Server, Tutorial0 Comments

Get the First Monday of the current Month or Get Last Day of Month or Get First Day of Month

Get the First Monday of the current Month or Get Last Day of Month or Get First Day of Month

Get the First Monday of the current Month or Get Last Day of Month or Get First Day of Month Get the First Monday of the current Month <?php function getFirstMonday($month,$year) { $num = date(“w”,mktime(0,0,0,$month,1,$year)); if($num==1) return date(“Y-M-ds”,mktime(0,0,0,$month,1,$year)); elseif($num>1) return date(“Y-M-d”,mktime(0,0,0,$month,1,$year)+(86400*(8-$num))); else return date(“Y-M-d”,mktime(0,0,0,$month,1,$year)+(86400*(1-$num))); } $month = date(“m”); $year = date(“Y”); // this will output [...]

Read the full story

Posted in Article, Computer, Open-Source, PHP, Programming, Tutorial0 Comments

Get file name and remove file extension using php

Get file name and remove file extension using php

Get a File name from url Using PHP Get the “filename”, or the last part of the string, with the basename function. <?php $url = ‘http://www.example.com/feeds/xyz/index.php?filename=abc’; echo basename($url); // print “index.php”; ?> Remove a File Extention Using PHP To strip the file extension from a file name you can use the combination of strrpos() and [...]

Read the full story

Posted in Article, Computer, Open-Source, PHP, Programming, Tutorial0 Comments

Increase your website speed through .htaccess in LAMP Technology

Increase your website speed through .htaccess in LAMP Technology

How to increase my website speed through .htaccess in LAMP Technology Many LAMP(Linux Apache MySQL PHP) driven websites today could easily decrease their bandwidth output and increase their speed through implementing caching and compressing their content. Even with the new high speed connections of today it is still highly important to improve websites efficiency and [...]

Read the full story

Posted in Apache, Article, Computer, PHP, Tutorial, Unix OS0 Comments

How to connect Windows XP VPN Into Remote Location

Having a Secured VPN (Virtual Private Networking) server is great, especially for businesses with many offices or if you own two homes or you can take help for developer from remote site. How can you connect to these VPNs free? Well I will tell you about my experience about this that how you can with [...]

Read the full story

Posted in Article, Computer, Tutorial, windows0 Comments

How to enable .htacces in local/xampp server

How to enable.htaccess in ubuntu Just go the Terminal and follow the following steps I enabled mod re-write by typing below command and restart the apache server. sudo a2enmod rewrite Now restart your apache2 by typing below command. sudo /etc/init.d/apache2 restart How to enable.htaccess in windows Using a text editor, open the httpd.conf file. In [...]

Read the full story

Posted in Article, Computer, Tutorial, Ubuntu, Unix OS, windows0 Comments

PHP Features

Potential of PHP really is a superior choice for the web, you’re going to need to have a clear-cut set of reasons why you believe PHP is the superior language. This short list should help you get started: PHP is cross-platform. It can be run on Windows, Linux, BSD, Mac OS X, and Solaris, as [...]

Read the full story

Posted in Article, Computer, PHP0 Comments

Redirect HTTP to HTTPS Apache secure connection

Most of the e-commerce website uses payment gateway for online payment. And, those sites uses SSL (secure socket layer) connection to transfer data to and from the payment gateway. Most of the sites uses “http” protocol and you can see “http” in the browser’s address bar. But in the Ssl connection, we need to redirect [...]

Read the full story

Posted in Apache, Article, Computer, HTACCESS, Open-Source, PHP, Programming, Tutorial0 Comments

Page Rank

Skype Online Status

Call me! - Shashidhar Kumar: My status is Offline