Kod skryptu wygląda tak:
function sendMail($pobierz) { $mail = $pobierz['email']; $id = $pobierz['id']; $key = $pobierz['key']; /* Wysyłanie maili */ require 'class.phpmailer.php'; ...
Wszystkie {} podomykane
ale wyrzuca:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in class.phpmailer.php on line 54
Kawałek kodu w którym jest wiersz 54 wygląda tak jak poniżej:
wiersz 54 to ten, który zawiera public $Priority = 1;
class PHPMailer { ///////////////////////////////////////////////// // PROPERTIES, PUBLIC ///////////////////////////////////////////////// /** * Email priority (1 = High, 3 = Normal, 5 = low). * @var int */ public $Priority = 1; /** * Sets the CharSet of the message. * @var string */ public $CharSet = 'utf-8';
No i nie wiem czemu
