Thread: Send email
View Single Post
  #10 (permalink)  
Old 03-09-2010, 11:21 PM
The Natural Philosopher
Guest
 
Posts: n/a
Default Re: Send email

Thomas 'PointedEars' Lahn wrote:
> Peter H. Coffin wrote:
>
>> On Tue, 9 Mar 2010 16:28:58 -0000, Mike Glazer wrote:
>>> [...]
>>> So where do I place the php code and how do I get this button to
>>> activate when the button is pressed?

>> You change the href to point to a PHP page does the email then redirects
>> to the file you want to send with a Location header. Google's got lots
>> of examples of PHP redirects and the commonest problem involved with
>> trying to make it work.

>
> All this has nothing to do with the event that the file *has been*
> downloaded. AFAIK it is not possible to find out that the download has
> happened because there would need to be a DOM event type for which an event
> listener has been added that in turn notified the server. Not only that
> AFAIK there is no such DOM event type, but client-side side scripting may
> also not be available.
>
>
> PointedEars


Thomas: I have no real proof that you even exist: Some things you have
to take on trust, and strong probability ;-)
Reply With Quote