Amaizing Videos:02 born twins one of them is dead, i went days to dead see the surprise. praise God &hearts

born twins one of them is dead, i went days to dead see the surprise. praise God &hearts

born twins one of them is dead, i went days to dead see the surprise. praise God &hearts
Untitled-11

1 comments:

Thanks for Commenting....

Amazing Videos: 01. The world is full of many mysteries wonderful places

The world is full of many mysteries wonderful places

The world is full of many mysteries wonderful places.Incredible Mystery of Waadi e Jin
00100
- See more at: http://jawanilife.com/?p=2954#sthash.TgDFkv0c.dpuf

0 comments:

Thanks for Commenting....

Software: Download Zapya

Zapya

Zapya


All versions of Zapya

Latest version05 Nov 20147.3 MBInfoDownload


Download The Zapya For Free From www.SearchMSKM.blogspot.com

0 comments:

Thanks for Commenting....

Fun: Software: Spruce up your folders with Folder Marker Free

Spruce up your folders with Folder Marker Free

Fast Access
Fast access

Folder Marker Free

Version: 4.2
File Size: 4.33 Mb
Price: FREE!

No Spyware or Adware!


or 
Get paid version
for FREE now
A freeware add-on for Windows lets you mark folders with color-coded icons to make a search for important information a "one-glance" affair.
Folder icons can be customized using the standard Windows method, but with Folder Marker Free you can do this on the fly from the right-click menu of a folder. So there is no need to go through additional dialogs or run Folder Marker Free itself! Simply select the folder you want to mark, right-click on its icon and select a color-coded icon from the drop-down menu. The icon will be assigned to the folder at once.
With the same simplicity, you can mark several folders. Simply select a group of folders with the mouse and assign a new icon from the right-click menu. Another great option is an ability to add up to ten icons of your choice to Folder Marker and use them in marking along with the default icons. The program can assign icons to a folder from a wide array file formats, including ICO, ICL, EXE, DLL, CPL or BMP.
This edition of Folder Marker contains only basic functions so it is good for beginners. Here you can compare Folder Marker Free with other editions of Folder Marker.

Screenshots

"Mark Folder" popup menu:
"Mark Folder" menu will appear for any folder in your system after installing of Folder Marker
Main window:
Folder Marker's main window

Key features:

  • Folder Marker can change a folder icon with one mouse click
  • Folder Marker can mark folders by priority (high, normal, low), by degree of work complete (done, half-done, planned) and by the type of the information contained in a folder (work files, important files, temp files, private files).
  • Folder Marker can change a folder's color
  • Folder Marker changes folder icons from a popup menu of the folders. To mark a folder, you don't even need to run the program!
  • Folder Marker's menu can contain convenient category submenus.
  • Folder Marker contains a User Icons tab. Add up to 10 of your favorite icons and mark folders with them. It's easy!
  • Folder Marker can work with several folders at once
  • Folder Marker can assign an icon to a folder from: ICO, ICL, EXE, DLL, CPL or BMP file
  • Folder Marker supports 32-bits icons
and
  • Folder Marker can change the icons of ALL folders in your system. This is the favorite feature of customization lovers. Get rid of monotony! Make your folders your own!
And what's more - Folder Marker is FREE! Click here and compare Folder Marker Free with other editions of Folder Marker.

0 comments:

Thanks for Commenting....

Videos: Islamic:


0 comments:

Thanks for Commenting....



How to update Windows 7 or 8 to Windows 10?


The sole choices you'd formerly to update to another one from an older copy was by booting with an installation disk or Flash drive to start it or to run the installer while the installed operating system was running.

Microsoft has added a choice to update using Windows Update and needs to make things more comfy.

Of updating via Windows Update, the core advantage is convenience. You do not need to download the ISO image do not need duplicate it to a USB Flash Drive or to burn it, and do not need to run it later on your system.

Note: Windows 10 isn't ready for prime time and it isn't proposed to improve your work system. It's perfect for those who are in possession of a system that is extra and would like to try it outside or the full back-up you can re-establish.

The upgrade procedure

The primary thing you should do is downloaded a smallest software from Microsoft which prepares Windows 8 operating system or your Windows 7 .

It takes a restart of the PC to ensure the changes take effect.

Windows 10

The device will boot to the operating system that is existing.

Upgrade to windows 10 windows update

There you should click the check. It might have some time for the test to finish.

The upgrade to Windows 10 finally, needs to be shown which it is possible to run using a select the install button.

The exact same upgrade procedure runs as the ISO installer.

It appears not impossible to go back following the upgrade. While this is true, it's exceptionally suggested that you simply develop a copy of data and your important files before you carry on together with the upgrade.

If you're operating a 32-bit version of Windows, it's impossible to update to 64-bit variants.

Additionally, there is no alternative to modify the interface language through the upgrade process.

It's possible for you to remove the "upgrade to Windows 10 groundwork upgrade" again from Windows. You locate it in the installed upgrades list as "Upgrade for Microsoft Windows (KB2990214)".

Windows 10 is going to be a free upgrade in the initial year to all (residence) customers who run Windows 7 or Windows 8.1 devices and it is probable that Microsoft will make Windows Update one of the delivery alternatives for the update.

0 comments:

Thanks for Commenting....



TV Streaming Website WiZiWiG Alternatives


It had not been the single website that offered those occasions to lists of events and links to stream but became a favorite destination immediately.

The manufacturers of WiZiWiG have only declared they have shut down the website effective.

The operators of the service in, give law changes in Spain, the state the website was hosted.

wiziwig

The manufacturers of the website chose to advertise a comparatively new website on the frontpage while WiZiWiG is apparently a matter of the past by now.
WiZiWiG Alternatives
GetYourFixtures.com is the fact that website. The website lists fixtures and live events on the start page including official streams and TV stations because of it. It appears that this is more of an ad when compared to a job the WiZiWiG team is involved in.

Considering that Get Your Fixtures is just recording official streams and TV stations, it's not likely that numerous users of WiZiWiG will discover that it's appealing.

However, it gives an interesting service that may appeal to some.

It's not clear yet if the first website will return at a subsequent stage in a single form or the other. One must wonder why the manufacturers failed to just move to your hosting business not situated if it's simply around hosting.

This may just be an option on the other hand in the event the operators will not be residents of Spain, regardless of where the website is hosted as they might fall under Spanish law subsequently.

So far as WiZiWiG Alternatives are worried, this is a brief set of services which you might want to try:

Live TV - A Russian service which supports several interface languages. Some of the very in-depth websites now.
Rojadirecta - Offers a big index of streams.
Sport P2P - Sorted leagues and by states, a lot of matches.
Stream 2 Watch - Clean design, strong variety of matches and occasions.

0 comments:

Thanks for Commenting....

Tricks: Blogger: Rapidshare Alternatives: File Hoster shuts down March 31



Rapidshare Alternatives: File Hoster shuts down March 31


The file hosting business Rapidshare AG merely declared that its services will be shut down by it .

In accordance with the info, accounts will likely be deleted and data will not be accessible anymore.

Rapidshare advocates to download files prior to the deadline before it becomes unavailable to procure a duplicate of the information.

The service, once among the most famous file sharing and hosting destinations online, was in decline for a long time.

Back in 2012, it changed its business model into a file owner version where not downloaders and uploaders paid the firm for the distribution of files.

Use of the service fell soon afterwards when files utilizing the service went to options online while excellent for users who simply downloaded from Rapidshare.
Rapidshare Alternatives
The Megaupload raid and takedown occurred at once and several file hosting websites were abruptly in trouble due to their business model (limiting downloads, getting users to purchase premium accounts, affiliate systems that let uploaders to reap the benefits of the system).

Subsequently in May 2014, it lost all free strategies and raised the pricing of paid strategies significantly (by the variable six) at once.

It looked like a last attempt to turn the business around but even then it was clear with what it declared the organization cannot locate success.

The notice on the Rapidshare web site now. In the event you look back, it seems as if direction made several ill advised choices that turned the organization from being among the very most frequented destinations online into a service that is unsustainable.

But that's just a partial solution. Powerful rivalry in type of file syncing options from companies like Google, Amazon, Dropbox or Microsoft became options for users who only wished to host their files online.

Should you assess the Alexa tendency you see that many areas lost before two years as well as made the top 10,000 of Rapidshare websites mark in the United States lately .

Rapidshare Alternatives

Rapidshare users that are seeking Rapidshare Alternatives may get these services usefulMicrosoft OneDrive, carton, Dropbox, Google Drive, SugarSync, Media Fire, Mega,SendSpace WikiUpload ZippyShare

0 comments:

Thanks for Commenting....

Tricks: Blogger: 08 Random posts widget for Blogger with image thumbnails



Random posts widget for Blogger with image thumbnails


When your website has way too many posts, visitors don't always have the time or want to go through all the posts written there in order to make an idea of the blog's content. Therefore, arandom posts widget which will allow people to discover content more readily could be really useful. This tutorial will reveal to you just how to put in a random posts widget to display a summary of posts in a random order with excerpts and thumbnails.
Random posts widget

Adding Random Posts Widgets for Blogger with image thumbnails

Please follow below steps to add Random posts widget for Blogger with image thumbnails in your blogger blog:

Step 1

Login to your own blogger account, pick your blog and go to Layout as shown in below image.

Random posts widget for Blogger

Step 2

Add widget by clicking on the Add a gadget link and select Html/JavaScript from the popup window as shown in below image.
Random posts widget for Blogger with thumbnails

Step 3

After adding the HTML/JavaScript you have to copy the following script and paste it in the Content box.
<style>
#random-posts img {
border-radius: 10px;
float: left;
margin-right: 5px;
width: 75px;
height: 75px;
background-color: #F5F5F5;
padding: 3px;
transition: all 0.2s linear 0s;
}
#random-posts img:hover {
opacity: 0.6;
}
ul#random-posts {
list-style-type: none;
padding: 0px;
}
#random-posts a {
font-size: 12px;
text-transform: uppercase;
padding: 0px auto 5px;
}
#random-posts a:hover {
text-decoration: none;
}
.random-summary {
font-size: 11px;
background: none;
padding: 5px;
margin-right: 8px;
}
#random-posts li {
margin-bottom: 10px;
border-bottom: 1px solid #EEEEEE;
padding: 4px;
}
</style>
<ul id='random-posts'>
<script type='text/javaScript'>
var randomposts_number = 5;
var randomposts_chars = 110;
var randomposts_details = 'yes';
var randomposts_comments = 'Comments';
var randomposts_commentsd = 'Comments Disabled';
var randomposts_current = [];
var total_randomposts = 0;
var randomposts_current = new Array(randomposts_number);
function randomposts(json) {
total_randomposts = json.feed.openSearch$totalResults.$t
}
document.write('<script type=\"text/javascript\" src=\"/feeds/posts/default?alt=json-in-script&max-results=0&callback=randomposts\"><\/script>');
function getvalue() {
for (var i = 0; i < randomposts_number; i++) {
var found = false;
var rndValue = get_random();
for (var j = 0; j < randomposts_current.length; j++) {
if (randomposts_current[j] == rndValue) {
found = true;
break
}
};
if (found) {
i--
} else {
randomposts_current[i] = rndValue
}
}
};
function get_random() {
var ranNum = 1 + Math.round(Math.random() * (total_randomposts - 1));
return ranNum
};
</script>
<script type='text/javaScript'>
function random_posts(json) {
for (var i = 0; i < randomposts_number; i++) {
var entry = json.feed.entry[i];
var randompoststitle = entry.title.$t;
if ('content' in entry) {
var randompostsnippet = entry.content.$t
} else {
if ('summary' in entry) {
var randompostsnippet = entry.summary.$t
} else {
var randompostsnippet = "";
}
};
randompostsnippet = randompostsnippet.replace(/<[^>]*>/g, "");
if (randompostsnippet.length < randomposts_chars) {
var randomposts_snippet = randompostsnippet
} else {
randompostsnippet = randompostsnippet.substring(0, randomposts_chars);
var whitespace = randompostsnippet.lastIndexOf(" ");
randomposts_snippet = randompostsnippet.substring(0, whitespace) + "&#133;";
};
for (var j = 0; j < entry.link.length; j++) {
if ('thr$total' in entry) {
var randomposts_commentsnum = entry.thr$total.$t + ' ' + randomposts_comments
} else {
randomposts_commentsnum = randomposts_commentsd
}; if (entry.link[j].rel == 'alternate') {
var randompostsurl = entry.link[j].href;
var randomposts_date = entry.published.$t;
if ('media$thumbnail' in entry) {
var randompoststhumb = entry.media$thumbnail.url
} else {
randompoststhumb = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzcArOzCphuI7AIDAhV-U14W596NOQmNJnBs9UFRCZpeZaafTSBsdBrDDOe3SlqAkdCRDiiiGVJv3GZlVJ35rMAXlKGr6mOIPIOwkUHUnDLT-jdbt55ysqU6nmeCrBGa7LOd6Llo2kab0/s1600/no_thumb.png"
}
}
};
document.write('<li>');
document.write('<a href="' + randompostsurl + '" rel="nofollow"><img alt="' + randompoststitle + '" src="' + randompoststhumb + '"/></a>');
document.write('<div><a href="' + randompostsurl + '" rel="nofollow">' + randompoststitle + '</a></div>');
if (randomposts_details == 'yes') {
document.write('<span><div class="random-info">' + randomposts_date.substring(8, 10) + '.' + randomposts_date.substring(5, 7) + '.' + randomposts_date.substring(0, 4) + ' - ' + randomposts_commentsnum) + '</div></span>'
};
document.write('<br/><div class="random-summary">' + randomposts_snippet + '</div><div style="clear:both"></div></li>')
}
};
getvalue();
for (var i = 0; i < randomposts_number; i++) {
document.write('<script type=\"text/javascript\" src=\"/feeds/posts/default?alt=json-in-script&start-index=' + randomposts_current[i] + '&max-results=1&callback=random_posts\"><\/script>')
};
</script><small><a style='align:center;' href='http://www.haakblog.com/2015/03/random-posts-widget-for-blogger.html' target='_blank'>Random Post Widget</a></small></ul>

Customize Random Posts Widgets

  • Thumbnail Size: to change the size of the thumbnails in pixels, replace the 75px value.
  • Summary Size: you can control the the length of the summary (in characters) by changing the 110 value from var randomposts_chars=110; 
  • Post information: if you want to hide the post date and comment count change 'yes' from var randomposts_details='yes'; to 'no';
  • Font Size for Posts Titles and Summary: to modify the font size for the post snippet modify the 11px value and for the posts title, the 12px value;

Step 4

Click on the Save button and viw your blog to display a random posts widget on each of your blog pages.

0 comments:

Thanks for Commenting....

Tricks: Blogger: 07 How to add Adsense Ads to Blogger Website



How to add Adsense Ads to Blogger Website


Google Adsense is the most used service to monetize your blog or web site content, in the event you would like to make money out of your site/blog. Adsense will show targeted Google ads in your website, when executed plus they are able to generate sales on a per-click or per-impression basis.

To be able to show advertisements on your own website, you need to Sign Up to Google Adsense application.

Remember that Adsense lets just up to 3 ad units, 3 link units and 2 search boxes per page before adding your advertising.
Adsense Ads to Blogger Website

Add Adsense Advertisement to Blogger Websites

You can follow below steps to add adsense ads to blogger websites easily:

1. Adsense Blogger Gadgets

If you want to add adsense ads by blogger gadgets than follow below steps to add it easily:

Step 1

Login into Blogger account than go to Layout and click on Add a Gadget link as shown in below picture.
Adsense Ads to Blogger Website

Step 2

After click on Add a Gadget a pop-up window will be open than select Adsense Gadget as shown in below picture.
Adsense Ads to Blogger

Step 3

Configure ad format and colors as your blog requirement.

Step 4

Now click on save button and you're done.

2. Inline Ads

If you want to ads unit at the end of each post than follow below steps to add adsense ads between posts:

Step 1

Go to layout than see blog post gadget and click on edit link below blog post gadget as shown in below picture.
Adsense to Blogger Website

Step 2

Check the Show Ads Between Posts box as shown in below picture.
Adsense Ads to Blogger Website

Step 3

Configure your ads and colors as your blog requirement.

Step 4

Click on Save button to save settings.

0 comments:

Thanks for Commenting....

Tricks: Blogger: 06 Email Verification Script in PHP



Email Verification Script in PHP
I received lots tutorial requests from my readers in that almost all of these requested to me, the best way to execute PHP Email Verification Script. That is really essential tutorial described the best way to generate appropriate and database activation code. Executed with mysqli_() fuctions, because mysql_() functions are depreciated.

Email Verification Script in PHP

PHP Email Verification Script

Follow below steps to create Email Verification Script in PHP. You can create your own PHP Email Verification scripts as your requirement. You can add all data in your php file folder or download already created file at the end of the post:

Database

Create database which contains four columns uid, email, password, activation and status.
CREATE TABLE IF NOT EXISTS `users` (
`uid` int(11) NOT NULL AUTO_INCREMENT,
`email` varchar(300) NOT NULL UNIQUE,
`password` varchar(300) NOT NULL,
`activation` varchar(300) NOT NULL UNIQUE,
`status` enum('0','1') NOT NULL DEFAULT '0',
PRIMARY KEY (`uid`)
)

HTML Code

<form action="" method="post">
<label>Email</label>
<input type="text" name="email" class="input" autocomplete="off"/>
<label>Password </label>
<input type="password" name="password" class="input" autocomplete="off"/><br/>
<input type="submit" class="button" value="Registration" />
<span class='msg'><?php echo $msg; ?></span>
</form> 

db.php

Create database contain file with your database username and password.
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'username');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'database');
$connection = @mysqli_connect(DB_SERVER,DB_USERNAME,DB_PASSWORD,DB_DATABASE);
$base_url='http://www.youwebsite.com/email_activation/';
?>

index.php

<?php
include 'db.php';
$msg='';
if(!empty($_POST['email']) && isset($_POST['email']) && !empty($_POST['password']) &&  isset($_POST['password']) )
{
// username and password sent from form
$email=mysqli_real_escape_string($connection,$_POST['email']);
$password=mysqli_real_escape_string($connection,$_POST['password']);
// regular expression for email check
$regex = '/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$/';
if(preg_match($regex, $email))
{
$password=md5($password); // encrypted password
$activation=md5($email.time()); // encrypted email+timestamp
$count=mysqli_query($connection,"SELECT uid FROM users WHERE email='$email'");
// email check
if(mysqli_num_rows($count) < 1)
{
mysqli_query($connection,"INSERT INTO users(email,password,activation) VALUES('$email','$password','$activation')");
// sending email
include 'smtp/Send_Mail.php';
$to=$email;
$subject="Email verification";
$body='Hi, <br/> <br/> We need to make sure you are human. Please verify your email and get started using your Website account. <br/> <br/> <a href="'.$base_url.'activation/'.$activation.'">'.$base_url.'activation/'.$activation.'</a>';
Send_Mail($to,$subject,$body);
$msg= "Registration successful, please activate email.";
}
else
{
$msg= 'The email is already taken, please try new.';
}
}
else
{
$msg = 'The email you have entered is invalid, please try again.';
}
}
// HTML Part
?>

Send_Mail.php

<?php
function Send_Mail($to,$subject,$body)
{
require 'class.phpmailer.php';
$from       = "from@yourwebsite.com";
$mail       = new PHPMailer();
$mail->IsSMTP(true);            // use SMTP
$mail->IsHTML(true);
$mail->SMTPAuth   = true;                  // enable SMTP authentication
$mail->Host       = "tls://smtp.yourwebsite.com"; // SMTP host
$mail->Port       =  465;                    // set the SMTP port
$mail->Username   = "SMTP_Username";  // SMTP  username
$mail->Password   = "SMTP_Password";  // SMTP password
$mail->SetFrom($from, 'From Name');
$mail->AddReplyTo($from,'From Name');
$mail->Subject    = $subject;
$mail->MsgHTML($body);
$address = $to;
$mail->AddAddress($address, $to);
$mail->Send();
}
?>

activation.php

<?phpinclude 'db.php';$msg='';if(!empty($_GET['code']) && isset($_GET['code'])){$code=mysqli_real_escape_string($connection,$_GET['code']);$c=mysqli_query($connection,"SELECT uid FROM users WHERE activation='$code'");
if(mysqli_num_rows($c) > 0){$count=mysqli_query($connection,"SELECT uid FROM users WHERE activation='$code' and status='0'");
if(mysqli_num_rows($count) == 1){mysqli_query($connection,"UPDATE users SET status='1' WHERE activation='$code'");$msg="Your account is activated"; }else{$msg ="Your account is already active, no need to activate again";}
}else{$msg ="Wrong activation code.";}
}?>//HTML Part<?php echo $msg; ?>

htaccess

RewriteEngine On
RewriteRule ^activation/([a-zA-Z0-9_-]+)$ activation.php?code=$1
RewriteRule ^activation/([a-zA-Z0-9_-]+)/$ activation.php?code=$1

CSS code

body{font-family: "Helvetica",Arial,sans-serif;font-weight: 500;color:#333;}label{width:100px;display:block;font-weight:bold;color:#666666;}#main{margin:0 auto;width:800px;}.input{padding:10px;font-size:14px;border:1px solid #999999;width:200px;margin-bottom:10px;}.button {padding:10px;background-color: #5fcf80 !important;border-color: #3ac162 !important;}.msg{font-size:11px;color:#666;padding:10px;}

0 comments:

Thanks for Commenting....

Tricks: Blogger: 05 How to Upload and Resize an Image with PHP



How to Upload and Resize an Image with PHP
I'm really going to show you small bit advance of Upload and Resize an Image with PHP now.Imagine should you need to allow users to upload image files than you have to think little bit about server's space and bandwidth and run a web site. For this particular purpose you have to do some optimization with image files. While uploading is one, picture resize. All major web site do it in exactly the same way. If a user uploads a 5mb image file they store on and resize it there server. It helps them reduce there funds and to seed up there website.

Picture cropping/resizing functionality certainly comes in handy if your website allows users to upload photographs. Furthermore, you also allow users to crop specific portions of uploaded picture and can create different variations of the same image.
Upload and Resize an Image with PHP

Upload and Resize an Image with PHP

Please add below scripts for Upload and Resize an Image with PHP
<?php define ("MAX_SIZE","400"); $errors=0;
if($_SERVER["REQUEST_METHOD"] == "POST") { $image =$_FILES["file"]["name"]; $uploadedfile = $_FILES['file']['tmp_name']; if ($image) { $filename = stripslashes($_FILES['file']['name']); $extension = getExtension($filename); $extension = strtolower($extension); if (($extension != "jpg") && ($extension != "jpeg")
&& ($extension != "png") && ($extension != "gif")) {echo ' Unknown Image extension ';$errors=1; } else{ $size=filesize($_FILES['file']['tmp_name']);
if ($size > MAX_SIZE*1024){ echo "You have exceeded the size limit"; $errors=1;}
if($extension=="jpg" || $extension=="jpeg" ){$uploadedfile = $_FILES['file']['tmp_name'];$src = imagecreatefromjpeg($uploadedfile);}else if($extension=="png"){$uploadedfile = $_FILES['file']['tmp_name'];$src = imagecreatefrompng($uploadedfile);}else {$src = imagecreatefromgif($uploadedfile);}
list($width,$height)=getimagesize($uploadedfile); $newwidth=60;$newheight=($height/$width)*$newwidth;$tmp=imagecreatetruecolor($newwidth,$newheight); $newwidth1=25;$newheight1=($height/$width)*$newwidth1;$tmp1=imagecreatetruecolor($newwidth1,$newheight1); imagecopyresampled($tmp,$src,0,0,0,0,$newwidth,$newheight, $width,$height); imagecopyresampled($tmp1,$src,0,0,0,0,$newwidth1,$newheight1, $width,$height); $filename = "images/". $_FILES['file']['name'];$filename1 = "images/small". $_FILES['file']['name']; imagejpeg($tmp,$filename,100);imagejpeg($tmp1,$filename1,100); imagedestroy($src);imagedestroy($tmp);imagedestroy($tmp1);}}}//If no errors registred, print the success message if(isset($_POST['Submit']) && !$errors) { // mysql_query("update SQL statement "); echo "Image Uploaded Successfully!"; } ?>

0 comments:

Thanks for Commenting....

Tricks: Blogger: How to Login with Facebook and Twitter



How to Login with Facebook and TwitterFacebook and Twitter have become large in the social network world and both networks offering oAuth support. We developed a system for login with Facebook and Twitter. Today internet users not interested to filling the large enrollment forms. This script gives you the capacity to avoid enrollment forms, It Is is easy and really useful to incorporate.

Twitter and Facebook have grown to be big in both networks offering oAuth and the social network world support. If all they must do is login using their present Facebook account visitors will likely be a lot more inclined to become members and participate in your web site.
Login with Facebook and Twitter
It uses OAuth and workflow and the authority URL differs somewhat as described below, although the flow is quite similar.

Login with Facebook and Twitter

Please follow below steps to learn and add Login with Facebook and Twitter on your websites easily:

1. Database

Create new database with users table columns id, email, oauth_uid, oauth_provider and username.
CREATE TABLE users
(id INT PRIMARY KEY AUTO_INCREMENT,email VARCHAR(70), oauth_uid VARCHAR(200),oauth_provider VARCHAR(200),username VARCHAR(100), twitter_oauth_token VARCHAR(200), twitter_oauth_token_secret VARCHAR(200) );

2. Twitter Setup

Create Twitter application from twitter website and replace Twitter Key & Twitter Secret Key in twconfig.php file as shown below code.
<?phpdefine('YOUR_CONSUMER_KEY', 'Twitter Key');define('YOUR_CONSUMER_SECRET', 'Twitter Secret Key');?>

3. Facebook Setup

Create Facebook application from facebook website and replace Facebook APP ID & Facebook Secret ID in fbconfig.php file as shown below code.
<?phpdefine('APP_ID', 'Facebook APP ID');define('APP_SECRET', 'Facebook Secret ID');?>

4. Databas Configuration

Add your database details in dbconfig.php file as shown below code:
<?phpdefine('DB_SERVER', 'localhost');define('DB_USERNAME', 'username');define('DB_PASSWORD', 'password');define('DB_DATABASE', 'database');$db = mysqli_connect(DB_SERVER,DB_USERNAME,DB_PASSWORD,DB_DATABASE);?>

5. Twitter Login Config

In your root directory you can see login-twitter.php. Edit this file and replace yourwebsite.com to your main domain name.
$request_token = $twitteroauth->getRequestToken('http://yourwebsite.com/getTwitterData.php');

6. Index Page Config

If you want to add your own index page than you can change your index page with adding below codes in your index page.
<?phpsession_start();if (isset($_SESSION['id'])) {// Redirection to login page twitter or facebookheader("location: home.php");}if (array_key_exists("login", $_GET)) {$oauth_provider = $_GET['oauth_provider'];if ($oauth_provider == 'twitter'){header("Location: login-twitter.php");}else if ($oauth_provider == 'facebook') {header("Location: login-facebook.php");}}?>//HTML Code<a href="?login&oauth_provider=twitter">Twitter_Login</a><a href="?login&oauth_provider=facebook">Facebook_Login</a>
Click below button for  download full code script and extract to edit code to edit on your website for login with facebook and twitter.
facebook and twitter login

0 comments:

Thanks for Commenting....