php.de

Zurück   php.de > Webentwicklung > PHP Einsteiger > PHP Tipps 2005

 
 
LinkBack Themen-Optionen Thema bewerten
Alt 23.03.2005, 23:57  
Benutzer
 
Registriert seit: 05.10.2004
Beiträge: 66
Stinger
Stinger eine Nachricht über ICQ schicken
Standard Problem mit mail() bei SAFE MODE

Ich möchte eine eMail mit Anhang mit mail() verschicken.
Dafür hab ich folgenden Befehl:

PHP-Code:
<?php
mail
("empfänger@domain.de","sender@domain.de",$betreff,$textinhalt,$dateianhang);
?>
Allerdings bekomm ich folgenden Fehler:

Warning: mail(): SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE

Wie kann ich trotzdem eine Mail allen Fünf Parametern verschicken??
Stinger ist offline  
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 23.03.2005, 23:59  
axo
Erfahrener Benutzer
 
Registriert seit: 24.12.2004
Beiträge: 1.814
axo ist zur Zeit noch ein unbeschriebenes Blatt
Standard

wenn du endlich das manual ( http://de3.php.net/manual/de/function.mail.php ) lesen würdest _bevor_ du hier fragen stellst, könntest du herausfinden, dass der fünfte parameter nicht für dateianhänge, sondern für zusätzliche header benutzt wird.

in einer anmerkung drunter steht auch, dass der fünfte parameter im safemode-modus deaktiviert ist, und das kannst du (zu unser aller glück)
nicht umgehen.

ansonsten kannst du es mit http://phpmailer.sourceforge.net versuchen, das ding dürfte mails im SMTP-modus trotz safemode sauber versenden.
axo ist offline  
 


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
problem mit mail()!!! coldi1000 PHP Tipps 2008 4 13.11.2007 22:49
php safe mode und shell_exec Fraylman PHP Tipps 2006 8 20.06.2006 04:10
[PHP] mail() Problem mit AOL Adressen horvath-media PHP Tipps 2006 25 23.03.2006 19:53
mail() und boundary Problem Gef PHP Tipps 2006 4 02.03.2006 00:47
php oder css problem? Wie konfiguriere ich mail header PHP Tipps 2006 1 28.02.2006 05:43
php safe mode! PHP Tipps 2006 4 24.01.2006 23:12
Generelles zu SAFE MODE Cosmo PHP Tipps 2007 2 23.11.2005 10:14
Safe Mode [erledigt] dethlef14 PHP Tipps 2005-2 1 16.10.2005 13:33
Problem mit mail() PHP Tipps 2005 18 06.05.2005 18:01
php mail() header &amp;amp;amp;amp;amp;amp; Spam Problem PHP-Fortgeschrittene 4 04.05.2005 12:31
Safe mode PHP Tipps 2005 10 23.02.2005 12:50
mail() problem Trumpfass PHP Tipps 2004-2 3 20.12.2004 20:07
Mail Problem PHP Tipps 2004-2 3 13.12.2004 22:43
Safe Mode auf Kommandozeile umgehen wurtzel PHP-Fortgeschrittene 3 28.11.2004 15:37
Safe mode für Datei Upload ist aktiviert Pimbolie1979 PHP-Fortgeschrittene 4 04.08.2004 11:47

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
warning: mail() [function.mail]: safe mode restriction in effect. the fifth parameter is disabled in safe mode, the fifth parameter is disabled in safe mode, warning: mail() [function.mail]: safe mode restriction in effect., warning: mail() [function.mail]: safe mode restriction in effect. the fifth parameter is disabled in safe mode in, warning: mail() [function.mail]: safe mode restriction in effect. the fifth parameter is disabled in safe mode., warning: mail() [function.mail]: safe mode restriction in effect, mail() [function.mail]: safe mode restriction in effect. the fifth parameter is disabled in safe mode, policy restriction in effect. the fifth parameter is disabled on this system, safe mode restriction in effect. the fifth parameter is disabled in safe mode, fehler beim senden der e-mail: safe mode restriction in effect. the fifth parameter is disabled in safe mode, \the fifth parameter is disabled in safe mode\, safe mode mail, mail() [function.mail]: safe mode restriction in effect. the fifth parameter is disabled in safe mode., mail() [function.mail]: safe mode restriction in effect. the fifth parameter is disabled in safe mode in, [2]mail() [function.mail]: safe mode restriction in effect. the fifth parameter is disabled in safe mode, the fifth parameter is disabled in safe mode in, warning: mail() [function.mail]: safe mode restriction in effect. the fifth parameter is disabled, php mail safe mode, warning: mail() [function.mail]: policy restriction in effect. the fifth parameter is disabled on this system in, warning: mail() [function.mail]: safe mode restriction in effect. the fifth parameter is disabled in safe mode. in

Alle Zeitangaben in WEZ +2. Es ist jetzt 10:26 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.