Created
February 23, 2013 22:26
-
-
Save mikejholly/5021625 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function screenshot_url($url) { | |
$token = md5($url . $secret); | |
$img = "http://api.screenshotshark.com/$key/$token/png/?url=" . urlencode($url); | |
} | |
?> | |
<img src='<?php echo screenshot_url("http://news.google.com") ?>' /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment