Jump to content

1x1px Image


The Little Guy

Recommended Posts

Right now I cannot thing of the name, but I can explain it... It is a transparent 1x1px image that is used to get information about someone (Who ever access it). Anyone know what they are called, and how I can use PHP to get the information? Anyone know of any tutorials that I could read up on on these?
Link to comment
https://forums.phpfreaks.com/topic/30247-1x1px-image/
Share on other sites

For example:
When you send email to someone in html format and you want to know when they read your email.
You include
[code]<img src="http://www.yourdomain.com/[email protected]" width=1 height=1 border=0>
[/code] in your html email.

"notify.php" contains:
[code]
<?php
// The message
$message = $_GET['emailto']."opened your email at ".date("Y-m-d H:i:s");

// Send
mail('[email protected]', $_GET['emailto'].' opened yoru email', $message);
?>
[/code]

something like this
Link to comment
https://forums.phpfreaks.com/topic/30247-1x1px-image/#findComment-139131
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.