Hello from York, UK

I have two features I'd like to ad to my site http://www.parkingrebel.com

The first feature is one of those clever refer a friend things were a web user clicks on the link and they eMail a friend the site address. There is an example of this feature in http://www.museumselection.co.uk/

The second feature is a contact form the likes of which can be found in: htttp://www.learndirect-advice.co.uk/contactus/

Are these two features in the realms of php? If they are then I don't know a thing about php but would welcome a starting point suggestion as to how I might build these features.

Any insights welcome :-)