Skip to content

Instantly share code, notes, and snippets.

@mikejholly
Created February 23, 2013 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikejholly/5021625 to your computer and use it in GitHub Desktop.
Save mikejholly/5021625 to your computer and use it in GitHub Desktop.
<?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