How do I code this?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jp_css
Forum Newbie
Posts: 23
Joined: Thu Dec 04, 2003 3:20 pm

How do I code this?

Post by jp_css »

I want to know how many times an image has been viewed. What would be the best way to go about implementing this?

Overall I want the image to reside on my site and be placed in an email so that I could track how many emails are actually opened.
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

I really don't know why I'm helping you on this... SPAMMERS should be strung up and shot without trial or mercy.

But here goes...
Instead of linking directly to the image you link to a PHP page. In the PHP page you have a basic function that updates a 'hit' counter either in a database or in a flat-file, then you load the image into the PHP page and spit it out. It will then display as normal in the email.
jp_css
Forum Newbie
Posts: 23
Joined: Thu Dec 04, 2003 3:20 pm

Post by jp_css »

Once again, as I posted in my other recent post this is not SPAM. It's an opt-in group. Yahoogroups are opt-in email lists.
jp_css
Forum Newbie
Posts: 23
Joined: Thu Dec 04, 2003 3:20 pm

Post by jp_css »

BTW, thanks for the information.
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

Code: Select all

<img src="some.com/img.php?confirm=email@host.com">
imagine thats a tranparnet image, it would verify any email address when it is opened.....dam it, someone please delete this topic, its not as helpfull as it seems :evil:
User avatar
Scribbler
Forum Newbie
Posts: 5
Joined: Sat Nov 08, 2003 11:50 am
Location: Aurora CO
Contact:

Post by Scribbler »

There are thousands of opt-in mailing lists out there that I've never heard of...yet somehow I've managed to opt-in to all of them too.
jp_css
Forum Newbie
Posts: 23
Joined: Thu Dec 04, 2003 3:20 pm

Post by jp_css »

I am having struggles setting up a php page that would load an image. I have been searching around and found that I would have to use hearder files and the passthru() function (I think those were the two). I am really confused. Anyone have any idea how this is done?
User avatar
Saethyr
Forum Contributor
Posts: 182
Joined: Thu Sep 25, 2003 9:21 am
Location: Wichita, Kansas USA
Contact:

Post by Saethyr »

There are thousands of opt-in mailing lists out there that I've never heard of...yet somehow I've managed to opt-in to all of them too.
ROFL!!!!

I feel your pain Scrib


Saethyr
jp_css
Forum Newbie
Posts: 23
Joined: Thu Dec 04, 2003 3:20 pm

Post by jp_css »

Trust me on this one. I only go through opt-in groups that you acutally have to send an email to in order to get you on the list. I am sure Yahoo really monitors these things because it's their name on the line. And if you do get added to the list somehow, it's very easy to unsubscribe w/o an trouble.
Post Reply