referral friend script problem

Status
Not open for further replies.

relisys

New Member
Messages
426
Reaction score
0
Points
0
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:
[B]Parse error[/B]:  syntax error, unexpected '-', expecting ',' or ';' in [B]/home/atlantis/public_html/fireworks/mime.mail.inc[/B] on line [B]20[/B]

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:

Nathan H

New Member
Messages
562
Reaction score
0
Points
0
It would helpful if we could see the code, we cannot bugfix without knowing where to look
 

relisys

New Member
Messages
426
Reaction score
0
Points
0
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
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
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
 

relisys

New Member
Messages
426
Reaction score
0
Points
0
its ok iv got a script to work on my site :) thanks all for trying
 

Nathan H

New Member
Messages
562
Reaction score
0
Points
0
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
 
Status
Not open for further replies.
Top