Skip to content

Instantly share code, notes, and snippets.

Last active June 27, 2020 10:15
What would you like to do?
Vintage Facebook code sample
my $id = $input{id};
my $user = $input{user};
my $code = $input{code};
my $course = 0;#$input{course};
my @node;my @edge;
#my $db_data = Mysql->connect("", "login", "mark", $pass);
my $db_data = Mysql->connect("$cookies{host}", "$cookies{db}", "mark", $pass);
my $map;
if ($ENV{'HTTP_HOST'} =~ m/^(.*)\.thefacebook\.com/) { $map = $1;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment