include_CuteEditor.php error

  •  01-13-2009, 4:43 PM

    include_CuteEditor.php error

    I keep getting the following error when I try to get the editor to work on my live website:
     
    PHP Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/vhosts/meetmybiz.com/httpdocs/content/CuteEditor_Files/include_CuteEditor.php on line 5
     
    <?php
    error_reporting(E_ALL ^ E_NOTICE);

    class CuteEditor
    {
      public $AccessKey; // line 5
      public $BackColor;
      public $BorderStyle;
      public $BorderWidth;
      public $BorderColor;

     It works fine on my dev site
View Complete Thread