Similar Posts
How to Change PHPMYADMIN Password
1- open terminal login as root 2-if already password then mysql -h your_host -u root -p else mysql -h your_host -u root 3- SET PASSWORD FOR root@localhost = PASSWORD(‘yourpassword’);
string.trim() not working in IE8
string.trim() replace by $.trim(string);
Login with Facebook Script
<script> window.fbAsyncInit = function() { FB.init({ appId:’App_id’, cookie:true, status:true, xfbml:true, oauth:true }); }; // Load the SDK Asynchronously (function(d){ var js, id = ‘facebook-jssdk’; if (d.getElementById(id)) {return;} js = d.createElement(‘script’); js.id = id; js.async = true; js.src = “//connect.facebook.net/en_US/all.js”; d.getElementsByTagName(‘head’)[0].appendChild(js); }(document)); </script> <script type=”text/javascript”> function fblogin() { FB.login(function(response) { if (response.authResponse) { FB.api(‘/me’, function(response) {…
Re – Write Rule To handle a request
RewriteRule ^folder/title-id.html?$ folder/file.php?id=$2 [NC,L] # Handle product requests RewriteRule ^video/([a-zA-z0-9-_+.(),’”|&]+)-([0-9]+).html?$ video/videoplay.php?id=$2 [NC,L] # Handle product requests Just Change you href like title-id.html
Mail Header for HTML email in PHP
$headers = ‘From: Infinity Infosystem Pvt. Ltd.<info@infinityinfosystem.com>’ . “\r\n”; $headers .= ‘Content-type: text/html; charset=iso-8859-1’ . “\r\n”;