Hello,
On a site profilepeep.com they give you a code as the following
How do they get php into an image? I know that image has php than it displays a 1x1 pixel jpg image.. I know there is also a header("Content-type: image/jpeg"); code in there.. But how do I get it so I can have php in a file something.jpg or something.gif ?? I was thinking mod_rewrite.. OR even having that image "rewrite" to a phpfile like userid.jpg actually is somefile.php?uid=userid
For example
$userid = 1121
stat.php?uid=1121
1121.gif "rewites to" stat.php?uid=1121
Get that?
- Steve
On a site profilepeep.com they give you a code as the following
Code:
<a href="http://www.profilepeep.com/" target="_blank">
<embed src="http://www.profilepeep.com/j/113152.jpg" border="0" height="0" width="0">
</a>
How do they get php into an image? I know that image has php than it displays a 1x1 pixel jpg image.. I know there is also a header("Content-type: image/jpeg"); code in there.. But how do I get it so I can have php in a file something.jpg or something.gif ?? I was thinking mod_rewrite.. OR even having that image "rewrite" to a phpfile like userid.jpg actually is somefile.php?uid=userid
For example
$userid = 1121
stat.php?uid=1121
1121.gif "rewites to" stat.php?uid=1121
Get that?
- Steve













