Difference between revisions of "Files/EditorForm"

From EPrints Documentation
Jump to: navigation, search
m (Reverted edit of Ag9Vct, changed back to last version by Tom)
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:EPrints 2 Plugins]]
== Connect Editors and Authors with a PHP form ==
== Connect Editors and Authors with a PHP form ==

Latest revision as of 17:35, 9 February 2010

Connect Editors and Authors with a PHP form

If you write an e-mail on a static web page, you are sure to recive a huge ammount of spam. But we want to allow authors to write to the editor of his country. To do this, Josep-Manuel Rodríguez-Gairín wrote a PHP form to 'protect' editors e-mail addresses.

The script sends a mail to a list of addresses defined in a config file (for general purposes as main page) but also can send mail to a specific editor searching your email in users table of eprints database. It can use the SQL 'users' table and also an extra list of e-mail.

The syntax is


There is a javascript email pre-validation and php post-validation. There is also a check against spam robots.

You can download the script from here: http://eprints.rclis.org/fixsoft/eprints_contact_form.zip

You can ask help to Josep-Manuel Rodríguez-Gairín, http://bd.ub.es/pub/rzgairin