I need a script written in PHP, js, that will allow a user to email a link to a page using a popup form.
The user only needs to add their friends name and email and their own name and email. The message and link will be held within the code.
The script will need validation and security against bots/spammers etc and the ability to place a max number of uses per period. For example 10 uses in 24hrs.
The form needs the option to add the senders details to a newsletter database.
PHP version 5.2.5
MySQL version 5.0.51a-community