HTTP authentication from PHP

Do you know you can implement http authentication using php code? HTTP authentications are those you see when  you open control panel or administrative backend website, prompting for username and password in html  authentication prompt. This can be done in php using following code: <?php if (!isset($_SERVER['PHP_AUTH_USER'])) { header(‘WWW-Authenticate: Basic realm=”My Realm”‘); header(‘HTTP/1.0 401 Unauthorized’); [...]

1 Comments , , , , , , , , , , ,

How to reset mysql root password (Windows)

Of course, it is not my post. But I wrote it here for a back up for myself. I got this from some website, it works ! Steps1) Stop running Mysql service  first (Administrative tools > Services ) Open command prompt (cmd) and reach the directory  (using CD command) where Mysql bin  is installed (eg: [...]

1 Comments , , , , , , , , , , , , ,

Save your passwords and secured files using TrueCrypt

Hello programmer, If you are a programmer, you  might experience on saving your different ftp , email , website credintals (usernames and passwords) . Someone uses google documents for saving passwords. Some use email itself as a password storing medium. To be more secured, you have to save your passwords in you local machine rather [...]

3 Comments , , , , , , ,

Contact Grabber

If you are a social media website developer , sometimes you might search for grabbing contacts from a particular email account if the password is given. I also did the same.  In most of the cases it did not work properly. But recently i got a contact grabber from phpclasses.org which works perfectly on Gmail, [...]

46 Comments , , , , , , , , , , , , , , , , , , , ,