[PHP] email counter
Dear people, I have an email link on my page like this mailto:[EMAIL PROTECTED]";> Big George and I want to know how may people click on on this particular link to keep the record, may be insert this record into a table as well ( but don't erally have to) Is there any technique at all to achieve this? Jack [EMAIL PROTECTED] "Love your enemies, it will drive them nuts"
Re: [PHP] email counter
How about changing link to Big George Where mymailer.php is something like mailto:$email"; ); ?> ( Now watch me get shot down for saying something silly ) At 09:30 17/07/2001 -0500, Jack wrote: >Dear people, >I have an email link on my page like this >mailto:[EMAIL PROTECTED]";> Big George >and I want to know how may people click on on this particular link to keep >the record, may be insert this record into a table as well ( but don't >erally have to) Is there any technique at all to achieve this? >Jack >[EMAIL PROTECTED] >"Love your enemies, it will drive them nuts" - Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] email counter
Hi, > Brian White [mailto:[EMAIL PROTECTED]] wrote on Tuesday, July 17, 2001 5:52 AM > To: Jack; [EMAIL PROTECTED] > Subject: Re: [PHP] email counter > > > How about changing link to > > Big George > > Where mymailer.php is something like > > /* > Do whatever it is you need to do with $email > */ > > header("Location: mailto:$email"; ); > > ?> > Works, but changes the previous open window into a empty sheet and displays "mailto:[EMAIL PROTECTED]";, so the old page disappears (the user has to click the back button). I think this solution is not really good for common usage. Try to use javascript: x = window.open("mailto:<?php echo $mailaddress ?>", "Site"); It's easy to combine it with PHP to count the send mails. Joerg www.php.comzept.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] email counter
how about using php mail functions if you've got the support on your server then a simple form to send the mail and you can track everything you need to ... Steve "Jorg krause" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > > Brian White [mailto:[EMAIL PROTECTED]] wrote on Tuesday, July 17, 2001 > 5:52 AM > > To: Jack; [EMAIL PROTECTED] > > Subject: Re: [PHP] email counter > > > > > > How about changing link to > > > > Big George > > > > Where mymailer.php is something like > > > > > /* > > Do whatever it is you need to do with $email > > */ > > > > header("Location: mailto:$email"; ); > > > > ?> > > > > Works, but changes the previous open window into a empty sheet > and displays "mailto:[EMAIL PROTECTED]";, so the old page > disappears (the user has to click the back button). I think this > solution is not really good for common usage. > > Try to use javascript: > > > x = window.open("mailto:<?php echo $mailaddress ?>", "Site"); > > > It's easy to combine it with PHP to count the send mails. > > Joerg > www.php.comzept.de > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] email counter
> Try to use javascript: > > > x = window.open("mailto:<?php echo $mailaddress ?>", "Site"); > > > It's easy to combine it with PHP to count the send mails. > In order to do the mail counter using javascript above, how would that work? What is "Site" for? and Does this script execute when people click on the link to send mail or something? Jack [EMAIL PROTECTED] "Love your enemies, it will drive them nuts" - Original Message - From: Jorg Krause <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 17, 2001 2:53 AM Subject: RE: [PHP] email counter > Hi, > > > Brian White [mailto:[EMAIL PROTECTED]] wrote on Tuesday, July 17, 2001 > 5:52 AM > > To: Jack; [EMAIL PROTECTED] > > Subject: Re: [PHP] email counter > > > > > > How about changing link to > > > > Big George > > > > Where mymailer.php is something like > > > > > /* > > Do whatever it is you need to do with $email > > */ > > > > header("Location: mailto:$email"; ); > > > > ?> > > > > Works, but changes the previous open window into a empty sheet > and displays "mailto:[EMAIL PROTECTED]";, so the old page > disappears (the user has to click the back button). I think this > solution is not really good for common usage. > > Try to use javascript: > > > x = window.open("mailto:<?php echo $mailaddress ?>", "Site"); > > > It's easy to combine it with PHP to count the send mails. > > Joerg > www.php.comzept.de > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]