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 Choudhary is a engineering student and a professional blogger. His free time is spent on blogging, wordpress, creating videos for youtube channel to share his knowledge with rest of us

  • bill

    Whenever I go to login to phpMyAdmin it says that there is an error, I have tried change my password and username, but it continues to show a red error message above my login

  • bill

    nevermind i fixed it

    • Tanish

      How you fixed it

  • i have created bpitmash.hol.es and there are error like

    Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/u639123388/public_html/mysql.php on line 10
    and
    Warning: Invalid argument supplied for foreach() in /home/u639123388/public_html/index.php on line 89

    • Hello mudit, you are trying it on localhost. Upload files to a web host, it will work

    • nunez Andy

      mudit i have created my facemash the name is facemashkestwo.hol.es but the images not showing in the home screen,pls help mee

  • Roi

    Can You Tell Me, How Others Will Check Or The Host Will Check The Results?

    • There is a script in files, which help to host

      • Tanish

        How to open webhost account.

      • Roi

        How To Check The Results?

        • what results are you talking about bro

          • Roi

            How Many Votes Someone Got??

  • Tanish

    Whenever I try to open file manager it says:
    An error has occured
    Unable to login to FTP server socialfacemash.netai.net with username a4264051.

    Are you sure your username and password are correct? Please contact your ISP helpdesk or system administrator for help.

    • You should move on to 5gbfree.com, 000webhost don’t working now a days properly

    • 000webhost is not working now a days, please try other web host. Go to 5gbfree.com

  • Sailesh Kandel

    hlo admin if u have time ..plz i wnat to talk wit you

  • SRD

    Script for checking pols result.