Dec/090
Trim .php extension using .htaccess
Trim your .php extension in your web application using .htaccess
RewriteEngine on
RewriteRule ^$ index.php
RewriteRule ^([a-zA-Z0-9\-\_/]*)/$ $1/index.php
RewriteRule ^([a-zA-Z0-9\-\_/]*)$ $1.php
Jul/091
Big Dump – MySQL Dump Importer

Once I tried to insert a huge MySQL database (150MB) to my website via phpMyAdmin.
Oops, My hosting company provide only 2MB to upload via phpMyAdmin.
Then I have given the request to my hosting company to increase the upload size. after a
long conversation they have changed the upload size from 2MB to 8MB.
I have sliced the db in to small pieces and uploaded.
Recently I just gone through the script named Big Dump – Free, I was surprised and this is what i searched.
Really it’s simple, also i can able to insert huge db in a min.
I got the solution after one year.
Anyway thanks to Big Dump
Apr/090
.htaccess password
To protect the folder with the Authentication with the help of .htaccess

follow the below steps:
create .htaccess file with below content
AuthUserFile “/home/domain/.htpasswds/passwd”
AuthType Basic
AuthName “ohm”
require valid-user
Go to root folder and open .htpasswds folder
then create a passwd file
in the below format
ohm:ogD4d24a6lf4o
encrypt your password with md5
Jan/092
‘ping’ is not recognized as an internal or external command
Recently i found my system variables changed and some of the commands are not worked in DOS.
Error Message:
‘ping’ is not recognized as an internal or external command,
operable program or batch file.

Solution for Windows XP:
Right click “My Computer” and click “Properties”. Click the “Advanced” tab up top followed by the “Environment Variables” button at the bottom. In the 2nd list box, scroll down to the 5th or 6th entry “Path”, select it and click “Edit”. Add
%SystemRoot%\system32;%SystemRoot%;
to the beginning of the line. Okay the changes and try out your commands now.





