php.de

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

 
 
LinkBack Themen-Optionen Thema bewerten
Alt 18.09.2004, 17:38  
Gast
 
Beiträge: n/a
Standard disabled in SAFE MODE

Ich bin gerade mit einer Domain umgezogen. Das einzige Teil mit dem ich jetzt noch Probs habe spuckt mir folgendes aus.

Code:
Warning: mail(): SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in /home/htdocs/html/de/_ecards/htmlMimeMail.php on line 669
In htmlMimeMail.php steht an der Stelle das:
Code:
Zeile 667 ['head_charset']);
				}

				$to = $this->_encodeHeader(implode(', ', $recipients), $this->build_params['head_charset']);

				if (!empty($this->return_path)) {
					$result = mail($to, $subject, $this->output, 

Zeile 674 implode(CRLF, $headers), '-f' . $this->return_path);
Antonius[/code]
 
Sponsor Mitteilung
PHP Code Flüsterer

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

Alt 18.09.2004, 17:44  
Gast
 
Beiträge: n/a
Standard

stimmt
...oder ist da noch eine Frage versteckt?


http://php.net/mail
Zitat:
bool mail ( string to, string subject, string message [, string additional_headers [, string additional_parameters]])
...
Note: This fifth parameter was added in PHP 4.0.5. Since PHP 4.2.3 this parameter is disabled in safe_mode and the mail() function will expose a warning message and return FALSE if you're trying to use it.
 
Alt 18.09.2004, 19:44  
Gast
 
Beiträge: n/a
Standard

Oben in meiner Frage steht die Fehlermeldung und im zweite Code steht die Zeile auf den sich die Fehlermeldung bezieht.
Ich weiss erhlich nicht, was die Fehlermeldung besagt.
 
Alt 19.09.2004, 10:29  
Gast
 
Beiträge: n/a
Standard

Wenn bei php SAFE_MODE angestellt ist, kann die php-Funktion mail() einen evtl. vorhandenen fünften Parameter nicht verarbeiten und wirft stattdessen eine Warnung aus und gibt den Wert false zurück.
Dein Skript verwendet mail() mit fünf Parametern und SAFE_MODE ist auf dem server, auf dem das Skript läuft, eingeschaltet.
 
Alt 19.09.2004, 11:14  
Gast
 
Beiträge: n/a
Standard

Danke, ich habe es geschaft!

Ich habe natürlich gesucht und gefunden:

unter Confixx unter Einstellungen, httpd-Spezial mit der Zeile:
Code:
php_admin_value safe_mode off
Und dann ging es ok.
 
 


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
[Erledigt] komischer safe mode fehler PHP-Fortgeschrittene 7 21.05.2012 14:26
php safe mode und shell_exec Fraylman PHP Tipps 2006 8 20.06.2006 04:10
safe mode verhindert copy JonathanArcher PHP-Fortgeschrittene 9 17.04.2006 21:47
php safe mode! PHP Tipps 2006 4 24.01.2006 23:12
PHP Safe Mode PHP Tipps 2006 1 09.01.2006 22:18
Generelles zu SAFE MODE Cosmo PHP Tipps 2007 2 23.11.2005 10:14
SAFE MODE Restriction in effect...whose uid is 0 is not... PHP Tipps 2005-2 5 23.10.2005 22:01
Safe Mode [erledigt] dethlef14 PHP Tipps 2005-2 1 16.10.2005 13:33
Problem mit mail() bei SAFE MODE Stinger PHP Tipps 2005 1 23.03.2005 23:59
Backquotes in Safe Mode bei PHP PHP Tipps 2005 1 27.02.2005 21:32
Safe mode PHP Tipps 2005 10 23.02.2005 12:50
Warning: SAFE MODE Restriction in effect. The script whose u Soese PHP Tipps 2005 14 07.02.2005 13:15
Safe Mode auf Kommandozeile umgehen wurtzel PHP-Fortgeschrittene 3 28.11.2004 15:37
php im Safe Mode und dennoch override erlauben. Möglich? Server, Hosting und Workstations 3 17.08.2004 18:03
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
safe mode restriction in effect. the fifth parameter is disabled in safe mode, mediawiki safe mode restriction in effect. the fifth parameter is disabled in safe mode, safe mode restriction in effect. the fifth parameter is disabled in safe mode., safe mode restriction in effect. the fifth parameter is disabled in safe mode in, disable safe mode php, php safe mode disable, disable php safe mode, php disable safe mode, disable php safe mode., rückmeldung des mailservers: safe mode restriction in effect. the fifth parameter is disabled in safe mode, the fifth parameter is disabled in safe mode, disable php safe_mode, confixx disable php safe mode, \safe mode restriction in effect. the fifth parameter is disabled in safe mode\, -htaccess php safe mode deactivating, php safe mode off, php disable save mode, how to disable php safe_mode, safe mode disabled, warning: mail() [function.mail]: safe mode restriction in effect. the fifth parameter is disabled in safe mode

Alle Zeitangaben in WEZ +2. Es ist jetzt 03:58 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.