PDA

View Full Version : Parse error: parse error, unexpected T_VARIABLE in /home/virtual/site4/fst/var/www/ht



ben@ct-web.net
07-Dec-2004, 01:54 AM
Hi,
I am a first time user, and I believe I followed all of the steps.
I reiceved this message:
Parse error: parse error, unexpected T_VARIABLE in /home/virtual/site4/fst/var/www/html/formmail.php on line 3

I do write perl, so I have no clue what th error is.
Has anyone seen this before?

Thanks,
Ben

ben@ct-web.net
07-Dec-2004, 02:27 AM
Actually I'm getting this t string parse error on another line.
The only thing I altered in the code is my email.
I am editing in BBEdit on a mac osx system and ftp with cute ftp.
Don't know if this helps, but these are the only variables I can think of.
Thanks,
Ben

russellr
07-Dec-2004, 02:30 AM
Hi,

The problem is line terminations.

Try upload as "ASCII" instead of "BINARY" in your FTP program.

ben@ct-web.net
07-Dec-2004, 03:20 AM
Thanks for the quick response,
I figured that might be it.
I tried it again but with no avail.
Any other thoughts?
Ben

ben@ct-web.net
07-Dec-2004, 03:29 AM
hey,
i went through my ensim ftp on-line and it worked...
thanks for the great code...I searched forever for an easy one.
Ben