Title: Using referral script
Last modified: August 19, 2016

---

# Using referral script

 *  [Avrohomd](https://wordpress.org/support/users/avrohomd/)
 * (@avrohomd)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/using-referral-script/)
 * I don’t know if this is the right place to ask my question, but I guess I will
   try.
 * I am trying to put a ‘referral script’ on my site.
 * I have put it at the bottom of this page:
 * [http://choveveitzion.com/plumbing/is-there-a-leak-in-your-toilet/](http://choveveitzion.com/plumbing/is-there-a-leak-in-your-toilet/)
 * The form looks fine. I am able to fill out the fields. And form validation seems
   to be working fine. So I think the Javascript I put into the header file seems
   to be working fine.
 * But every time I hit ‘submit’ I get the famous 404 error page.
 * There are two other files associated with this script:
 * Mime mail.inc
 * This I have uploaded to my Public_html file.
 * It is accessed by the php script with the following statement:
 * include “mime.mail.inc”;
 * Is this the correct address?
 * The other file is the php file:
 * process_referral.php
 * which I have added to all the php files of my theme.
 * It wouldn’t surprise me if my error is a stupid error as I don’t have experience
   using PHP or Java script.
 * Any helpers?
 * Thank you!

Viewing 1 replies (of 1 total)

 *  Thread Starter [Avrohomd](https://wordpress.org/support/users/avrohomd/)
 * (@avrohomd)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/using-referral-script/#post-1387436)
 * I was looking at the Warrior Forum. There I saw a warning to be careful of enemies
   misusing these scripts and getting your site blacklisted.
 * I then remembered I once saw a simple way to do this in html:
 * [Tell a friend about us!](https://wordpress.org/support/topic/using-referral-script/?&subject=Look what I found&body=Hi, I thought you might be interested in this site: http://www.ChoveveiTzion.com                                              Take a look -- you might save lots of money on your next water bill.)
 * And this avoids the dangers — yet it works!

Viewing 1 replies (of 1 total)

The topic ‘Using referral script’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Avrohomd](https://wordpress.org/support/users/avrohomd/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/using-referral-script/#post-1387436)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
