|
||||
|
Hello,
I was thinking on a very useful view helper for ZF. We all know what big problem is with spam, and due to many of this problems come from the fact on websites are not protected (are put in raw) email addresses i was thinking on making a view helper which is going to replace all email address found or mailto link with an obfuscated or similar link. I checked on lot of tips/tutorials but i didn't found an way to easily create such "safe" email formats on site. Any idea for a format ?
__________________
Zend Framework Tutorials | Zend Framework Forums | Zend Framework IRC Channel | | Zend Framework Resources | CoreShifter | Microsoft Forums | Microsoft Links | Microsoft Books |
|
||||
|
Hi,
I am actually using something more easier: a Javascript function put for onClick: function show_e(domain, user) { newWindow = window.open('mail' + 'to:' + user + "@" + domain , '', 'height=600,width=600,scrollbars=yes,resizable=yes '); if (document.images) newWindow.focus(); } There is however a small problem when clicking on link. On some browsers is opened also a new browser window, not just email client...
__________________
Zend Framework Tutorials | Zend Framework Forums | Zend Framework IRC Channel | | Zend Framework Resources | CoreShifter | Microsoft Forums | Microsoft Links | Microsoft Books |
|
||||
|
Anyway, also i am thinking on something fully done with ZF, not using third party components for image generation, aso...
__________________
Zend Framework Tutorials | Zend Framework Forums | Zend Framework IRC Channel | | Zend Framework Resources | CoreShifter | Microsoft Forums | Microsoft Links | Microsoft Books |
![]() |
| Thread Tools | |
| Display Modes | |
|
|