Closed Thread
Results 1 to 6 of 6

Thread: referral friend script problem

  1. #1
    relisys is offline x10 Lieutenant relisys is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    birmingham uk
    Posts
    426

    referral friend script problem

    Hey all!

    i having some problems with getting my tell a friend script to work,

    every time i try and send a tester i get this error

    Code:
    Parse error:  syntax error, unexpected '-', expecting ',' or ';' in /home/atlantis/public_html/fireworks/mime.mail.inc on line 20
    just wondering if any one can help

    if you want to test if for you self, please go here

    copy and past into browser: (fireworkdirect.com/form.html)

    you will find the mime.mail.inc file here (fireworkdirect.com/mime.mail.inc)
    Last edited by relisys; 08-14-2008 at 08:33 AM. Reason: adding more
    The Firework Shop List | Fancy Dress Costumes

    A desperate disease requires a dangerous remedy.

  2. #2
    Nathan H is offline x10 Elder Nathan H is an unknown quantity at this point
    Join Date
    Apr 2006
    Posts
    562

    Re: referral friend script problem

    It would helpful if we could see the code, we cannot bugfix without knowing where to look
    Nathan H Formerly UnFoundBug



    http://www.theadmin.co.uk - Yes i know the colours don't go, I'm working on it.

    VPS Admin | x10-commandments

    So thats where it went! I thought i was losing my mind.

  3. #3
    relisys is offline x10 Lieutenant relisys is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    birmingham uk
    Posts
    426

    Re: referral friend script problem

    ok here is every thing

    (fireworkdirect.com/form.html)

    (fireworkdirect.com/mime.mail.inc)

    the code that drives the form is too big to post, so i have put it into a text file. you can view here

    (fireworkdirect.com/code.txt)

    P.S sorry i have not put direct links but i don't want google picking this up yet
    The Firework Shop List | Fancy Dress Costumes

    A desperate disease requires a dangerous remedy.

  4. #4
    galaxyAbstractor's Avatar
    galaxyAbstractor is online now Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: referral friend script problem

    var $return-to; is irritating php in some way. Now I am no expert on PHP so I have no clue what to do. Escape it will probably don't work since it is a variable. I am not sure.

    if you replace everywhere you find $return-to with $returnto it maybe works. Need someone with PHP knowledge to confirm this

  5. #5
    relisys is offline x10 Lieutenant relisys is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    birmingham uk
    Posts
    426

    Re: referral friend script problem

    its ok iv got a script to work on my site thanks all for trying
    The Firework Shop List | Fancy Dress Costumes

    A desperate disease requires a dangerous remedy.

  6. #6
    Nathan H is offline x10 Elder Nathan H is an unknown quantity at this point
    Join Date
    Apr 2006
    Posts
    562

    Re: referral friend script problem

    An error might of simply been that there was a '-' character in the variable name

    *Thread Closed as alternative has been found*
    Feel free to reopen this thread for support or create a new one
    Nathan H Formerly UnFoundBug



    http://www.theadmin.co.uk - Yes i know the colours don't go, I'm working on it.

    VPS Admin | x10-commandments

    So thats where it went! I thought i was losing my mind.

Closed Thread

Similar Threads

  1. Any Script Installation Geniuses Out There?
    By JeffreyWalters in forum Free Hosting
    Replies: 6
    Last Post: 12-07-2007, 06:26 PM
  2. Problem running script
    By nol888 in forum Free Hosting
    Replies: 7
    Last Post: 11-16-2007, 10:56 AM
  3. Problem with a topsites script
    By Matts in forum Free Hosting
    Replies: 5
    Last Post: 07-13-2005, 07:04 AM
  4. Ftp Timeout problem
    By ironcross77 in forum Free Hosting
    Replies: 7
    Last Post: 04-12-2005, 08:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers