Need coding help for a charity website!
Posted: Tue Feb 13, 2007 8:37 am
Hello everyone
!
I maintain a non-profit charity website. Many of it's volunteers refers visitors to us from their personal websites. Here is the scenarios of what I'm trying to do:
-----
1. Http://www.volunteer.com refers John Doe to our site using this link http://www.charity.com/?refersite=volunteer.com. When John Doe sends us an e-mail via our web form, a text-field named refersite is automatically filled with "volunteer.com". And also the field is disabled/not-editable, so John Doe cannot change the referral information.
2. Few days later John Doe again visits our website to send us another email inquire. But this time he came through a different link http://www.charity.com/?refersite=devnetwork.net, therefore the old referral information "volunteer.com" was replaced with "devnetwork.net".
3. John is now using a different computer and visits our website directly from his browser by typing the site address http://www.charity.com or http://www.charity.com/?refersite= (no information). This time when he sends an email using the web form, the refersite field is blank and editable. So he decides to type "google.com" manually in that field.
-----
That's all. Many thanks in advance for your help.
By the way, the website is made with php and no database.
I maintain a non-profit charity website. Many of it's volunteers refers visitors to us from their personal websites. Here is the scenarios of what I'm trying to do:
-----
1. Http://www.volunteer.com refers John Doe to our site using this link http://www.charity.com/?refersite=volunteer.com. When John Doe sends us an e-mail via our web form, a text-field named refersite is automatically filled with "volunteer.com". And also the field is disabled/not-editable, so John Doe cannot change the referral information.
2. Few days later John Doe again visits our website to send us another email inquire. But this time he came through a different link http://www.charity.com/?refersite=devnetwork.net, therefore the old referral information "volunteer.com" was replaced with "devnetwork.net".
3. John is now using a different computer and visits our website directly from his browser by typing the site address http://www.charity.com or http://www.charity.com/?refersite= (no information). This time when he sends an email using the web form, the refersite field is blank and editable. So he decides to type "google.com" manually in that field.
-----
That's all. Many thanks in advance for your help.
By the way, the website is made with php and no database.