How To Create Your FACEMASH like Website

I am fan of movie The Social Network. The movie was too good and gave a brief history of Facebook. Those who watched that movie, know that movie was too good and if you did not watch this movie yet, then i recommend you to watch it please. what about this post is.We watched in that how mark zuckerberg created HOT or NOT  website in just few hours while he was drunk also. in this post we will do exact like that.

you can search on internet about how to create a website like HOT or NOT (facemash). There are various websites but all of them use same Scripts. Original Scripts was given by Denmark anders . in this post i will show you how to use that scripts to create your own website like HOT or NOT.

Just follow all steps.

STEP : 1

download scripts from here. these are some codes which you will need to create a website like facemash. these are

  • index.php
  • functions.php
  • mysql.php
  • rate.php
  • install_images.php

STEP : 2

Now choose a free webhost to run your  website. as always i recommend you to choose 000webhost.com for its easy interface.

  • be careful while choosing domain name. try  this type domain name like  “your college name hotchicks.com “

 

STEP : 3

  • Creat a database for your website. click on mysql button on your webhost dashboard

create database

 

  • now configure your database settings

configure database

  • check information about your database

database info

 

STEP : 4

  • Now you have to configure downloaded script.
  • open script mysql.php on notepad and edit your database name, host and password setting

configure mysql script

  • and  save the script.

STEP : 5

  • Upload these files to your webhost account.
  • login into file manager and go into directory public.html
  • upload all  the scripts here one by one

file manager

 

STEP : 6

  • make a new folder named as “images” in public.html directory
  • upload all your images to this folder.
  • you can upload all images at once using a zip file.

STEP : 5

  • Now login into php my admin and execute this mysql code.
CREATE TABLE IF NOT EXISTS `battles` (
 `battle_id` bigint(20) unsigned NOT NULL auto_increment,
 `winner` bigint(20) unsigned NOT NULL,
 `loser` bigint(20) unsigned NOT NULL,
 PRIMARY KEY (`battle_id`),
 KEY `winner` (`winner`)
 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
 
 
 CREATE TABLE IF NOT EXISTS `images` (
 `image_id` bigint(20) unsigned NOT NULL auto_increment,
 `filename` varchar(255) NOT NULL,
 `score` int(10) unsigned NOT NULL default '1500',
 `wins` int(10) unsigned NOT NULL default '0',
 `losses` int(10) unsigned NOT NULL default '0',
 PRIMARY KEY (`image_id`)
 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

congrats you made facemash in just half an hour while mark zuckerberg took 4 hrs to make facemash
errors are welcome through comments.

 

Rajendra Choudhary

Rajendra is a Cyber Security Analyst, Developer & Professional Blogger. His free time is spent on Blogging, Wordpress, Creating Videos for Youtube Channel to share his knowledge with rest of us
Close Menu