Ver Mensaje Individual
  #9 (permalink)  
Antiguo 08/12/2010, 21:59
kikoro
 
Fecha de Ingreso: diciembre-2010
Mensajes: 2
Antigüedad: 13 años, 5 meses
Puntos: 0
Pregunta problemas con variables estaticas

Hola,

No se de PHP, me pasaron un codigo de un sitio que funciona bien, es para envio de formulario. pero me aparece el siguiente mensaje

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/portable/public_html/includes/class.phpmailer.php on line 53


la linea 53 solo dice: public $Priority = 3;


un poco mas del codigo es:

if (version_compare(PHP_VERSION, '5.0.0', '<') ) exit("Sorry, this version of PHPMailer will only run on PHP version 5 or greater!\n");

class PHPMailer {

/////////////////////////////////////////////////
// PROPERTIES, PUBLIC
/////////////////////////////////////////////////

/**
* Email priority (1 = High, 3 = Normal, 5 = low).
* @var int
*/
public $Priority = 3;

/**
* Sets the CharSet of the message.
* @var string
*/
public $CharSet = 'iso-8859-1';


¿como lo puedo resolver?
gracias.