Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 25th, 2012  |  syntax: None  |  size: 0.36 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. how do i know if an email has been delivered using PHP?
  2. header('Content-Type: image/png');
  3.    $im = @imagecreate(1, 1);
  4.    $background_color = imagecolorallocate($im, 255, 255, 255);  // make it white
  5.    imagepng($im,"image.png");
  6.    imagedestroy($im);
  7.        
  8. $id = sha1([ID FROM DATABASE] + salt)
  9.        
  10. <img src="http://www.example.com/image.php?id=SHA1HASHHERE" />