Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] mail, dziwny warning
zaiac
post 19.09.2007, 22:22:00
Post #1





Grupa: Zarejestrowani
Postów: 79
Pomógł: 0
Dołączył: 11.05.2007
Skąd: Kraków

Ostrzeżenie: (0%)
-----


Witajcie,

mam taki kodzik:

  1. <?php
  2. $temat = 'temat';
  3. $tresc = 'tresc';
  4. $headers = 'From: aaa@aaa.pl' . "r\n" . 
  5. 'Reply-To: aaa@aaa.pl' . "r\n";
  6. mail($email, $temat, $tresc, $headers);
  7. ?>


Maile sie wysyłają ale dostaje warning:

An error appear in file /srv/www/htdocs/web117/html/poker/includes/config.inc in line 11: Undefined variable: addr An error appear in file /srv/www/htdocs/web117/html/poker/includes/config.inc in line 11: Undefined variable: ret

nigdzie nie mogę znaleźć addr ani ret. Ktoś wie o co może chodzić?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
zaiac
post 19.09.2007, 22:38:59
Post #2





Grupa: Zarejestrowani
Postów: 79
Pomógł: 0
Dołączył: 11.05.2007
Skąd: Kraków

Ostrzeżenie: (0%)
-----


  1. <?php
  2. function my_error_handler ($e_number, $e_message) {
  3. $message = ' An error appear in file ' . __FILE__ . ' in line ' . __LINE__ . ": $e_message";
  4. echo '<font color="red" size="+1">', $message, '</font>';
  5. }
  6. ?>


Proszę bardzo smile.gif Oczywiście że szukałem... Co ciekawe w całym katalogu ze stronką nie ma wyrażenia addr ani ret ...

Ten post edytował zaiac 19.09.2007, 23:27:26
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 20:18