• 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/

    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

    (@avrohomd)

    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!

    And this avoids the dangers — yet it works!

Viewing 1 replies (of 1 total)

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