Błędne hasło w SMTP

0

Hej

mam problem z hasłem w pliku php.ini (sekcja wysyłania e-maili)- wykorzystuje SMTP i działam na Linuksie.
Ostatnim znakiem jest wykrzyknik (!) i nie wiem co z tym zrobić. Po restarcie Apache wyrzuca błąd :

PHP: syntax error, unexpected '!' in ./etc/php.ini on line 1126

[mail function]
auth_password = mojehaslo**!**

0

Może interpreter traktuje ! jako znak specjalny, sprawdz tak: !

0

hehe no właśnie tak też nie działa :)

1

Khem, khem <kaszle cudzysłowiami>

Zresztą o tym pisze na samym początku w php.ini

; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
; previously set variable or directive (e.g. ${foo})

; Expressions in the INI file are limited to bitwise operators and parentheses:
; |  bitwise OR
; ^  bitwise XOR
; &  bitwise AND
; ~  bitwise NOT
; !  boolean NOT

; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.

; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:

;  foo =         ; sets foo to an empty string
;  foo = None    ; sets foo to an empty string
;  foo = "None"  ; sets foo to the string 'None'

1 użytkowników online, w tym zalogowanych: 0, gości: 1