Monday, 15 March 2010

Read receipts via php -



Read receipts via php -

ok, i'm developing application in need how "how many people" read email. i've gone through various questions here , developed little little solution, doesn't seems working.

here's code :-

checkr.php

<img src="http://localhost/tests/read-receipt/tracking.php?id=1">

tracking.php

<?php include 'dbconnector.php'; if(isset($_get['id'])) { //increment. seek { $s = $conn->query("update test_number_of_count set count = count+1 id=1"); $s->execute(); } catch(pdoexception $e) { echo $e->getmessage(); } } else { echo "get not set"; } ?>

now if checkr.php opened, should update db , increment count, doesn't increases. doing wrong ?

here's db structure.

php

No comments:

Post a Comment