Link to home
Start Free TrialLog in
Avatar of devpete
devpete

asked on

PHP/GD2 Image tracking with additional value

How I can track unique emails I sent using PHP and GD ?

Basically I have function where I'm saving into DB stats (file - script.php) and the using GD2 imagecreate() imagepng() I'm creating image - data collection works fine, but making situation more complicated - I want to track some part of emails, so I want to put there some unique ID - and now the question :

I have following code - <img src="script.php" alt="" /> .... now I want to add something like: <img src="script.php?id=22" alt="" /> - and question is how to get ID - it's not a POST or GET - s what is it ?

Maybe there is no solution, and you have some other ideas/ways how I can do it ? Or maybe you have some simple JS solution ?
ASKER CERTIFIED SOLUTION
Avatar of under_dog
under_dog

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of devpete
devpete

ASKER

Of course you have right - I just mixed up my variable name and I couldn't read this value - so I thought it must be some different array... ehhh doesn't matter ;]