Skip to content

Instantly share code, notes, and snippets.

View kaushalshah's full-sized avatar
🎯
Focusing

Kaushal Shah kaushalshah

🎯
Focusing
View GitHub Profile
@sohelrana820
sohelrana820 / email.php
Last active July 25, 2023 02:41
Send Email Through AJax
<?php
$data = $_POST['data'];
$name = $data['name'];
$from = $data['email'];
$subject = $data['subject'];
$message = $data['message'];
$to = 'hayley@studioeighty7.co.uk';
$headers = "MIME-Version: 1.0";
$headers .= "Content-type: text/plain; charset=iso-8859-1";
@adamloving
adamloving / fb-fan-export.js
Created January 18, 2011 01:02
Export Facebook Page Fans
/*
For more detailed instructions on how to use this script, sign up with your email here:
http://adamloving.com/internet-programming/how-toexport-facebook-page-fans
DISCLOSURE: This javascript runs in your browser pretending to be you
looking through your page fans. Facebook should have no problem with this,
but who knows if they will think it is strange to see you looking through
all your fans so quickly (the script waits 3s before requesting each page).
I've had no problem running this so far for 1000s of page fans, but I