Re: Handling an email form

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 19, 2014 at 11:40 AM, Jim Giner <jim.giner@xxxxxxxxxxxxxxxxxx>wrote:

> I can create a valid html email containing a form and an input and submit
> tag in it.  With this I wish to call a script on my website and have it
> take the value of the input and update a record in a mysql table.  The
> concept is pretty straight-forward, but I'm having no luck with the
> execution.
>
> For one thing - my email client insists on opening a new browser window as
> soon as I click on the input tag.  That is probably some email setting that
> I'll have to dig into.  And it does it again when I click on the submit
> button.  But the real problem is that the script called from this email
> form doesn't seem to respond.  I have tested the form right from my website
> and it manages to call the script correctly and I have echoed out my
> progress to verify my code works, but it just doesn't happen from the email.
>
> What's the trick - or can't this be done?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> For obvious reasons (phishing is one I can think of right off the bat)
most email provides will strip out all form tags, let alone allow you to
actually submit it in new tab. I would say your email service got it right
to not process the request. I would be worry about an email service that
allows such thing.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux