By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,321 Members | 1,875 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,321 IT Pros & Developers. It's quick & easy.

parse error, unexpected T_VARIABLE

P: 1
I'm a complete novice with HTML and PHP. Recently I purchased an auto responder that requires me to edit a PHP file during the installation process as per directions provided in a read me file.

After editing the required file (globals.php) I am directed to run the installation program on the website by using my browser. However, on doing is I am presented with an error message as follows:

Parse error: parse error, unexpected T_VARIABLE in /nfs/cust/6/98/87/778896/web/responder/include/globals.php on line 10

The site is hosted by gate.com and, as required by gate, all files and folders are uploaded into the folder /web. So far everything works except line 10 which is $SiteName =

I'll be very grateful if someone could help me resolve this problem.
I'm including the entire file below.
Expand|Select|Wrap|Line Numbers
  1. <?php       
  2.         //mysql.monkeezemarketing.com 
  3.         $Host = "localhost";
  4.         $Database = "monkeez1_monkeez1";
  5.         $User     = "monkeez1_monkeez1";
  6.         $Password = "xxxxxxxxx";
  7.  
  8.     //www.monkeezemarketing.com
  9.     $SelfPath = "http://responder.com"
  10.     $SiteName = "monkeezemarketing"
  11.  
  12.     "//www.monkeezemarketing.com"
  13.     $MediaPath = "/web/responder/media";
  14. ?>
Aug 28 '07 #1
Share this Question
Share on Google+
1 Reply


pbmods
Expert 5K+
P: 5,821
Heya, Double. Welcome to TSDN!

Please use CODE tags when posting source code. See the REPLY GUIDELINES on the right side of the page next time you post.

Changed thread title to better describe the problem (did you know that threads whose titles that do not follow the Posting Guidelines actually get FEWER responses?).

You're missing some semicolons.
Aug 28 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.