Hallo zusammen,
Ich bab jetzt PHP version 4.0 auf 4.3.2 abgedated.
seid dem bekomme ich folgende nachricht:
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.
For more information as to why this behaviour exists, see the manual page for CGI security.
For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.
So weit so gut.
Bin in die php.ini und hab die Option cgi.force_redirect auf 0 gesetzt.
Nun klapts auch. Nun bekomme ich NOTICE Meldungen.
Jede Zeile wo ich
steht bekomme ich folgende NOTICE-Meldung :
Notice: Undefined index: goto in xyz.php on line 9
Nun habe ich 3 Fragen.
1. Wie behebe ich dieses Problem ohne die Sicherheit zu vernachläsigen?
2. Ich glaube ich hab da ein Verständnissproble. Gesagt wird ja das wenn ich
cgi.force_redirect auf 1 setzte das die Sicherheit aktiviert wird. So weit ich weiss ist
einzugeben wenn die Sicherheit in der PHP.ini aktiviert ist. Ist das richtig??
3. Wie nennt man diese art von übergabe
???
Sind wahrscheinlich dumme Fragen *g* Bin aber noch ein Greenhorn.
Zum Programmieren gehört auch die Fachbegriffe zu kennen.
Bedanke mich schonmal!
Ich bab jetzt PHP version 4.0 auf 4.3.2 abgedated.
seid dem bekomme ich folgende nachricht:
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.
For more information as to why this behaviour exists, see the manual page for CGI security.
For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.
So weit so gut.
Bin in die php.ini und hab die Option cgi.force_redirect auf 0 gesetzt.
Nun klapts auch. Nun bekomme ich NOTICE Meldungen.
Jede Zeile wo ich
PHP-Code:
$_['xyz']
Notice: Undefined index: goto in xyz.php on line 9
Nun habe ich 3 Fragen.
1. Wie behebe ich dieses Problem ohne die Sicherheit zu vernachläsigen?
2. Ich glaube ich hab da ein Verständnissproble. Gesagt wird ja das wenn ich
cgi.force_redirect auf 1 setzte das die Sicherheit aktiviert wird. So weit ich weiss ist
PHP-Code:
$_['xyz']
3. Wie nennt man diese art von übergabe
PHP-Code:
$_['xyz']
Sind wahrscheinlich dumme Fragen *g* Bin aber noch ein Greenhorn.
Zum Programmieren gehört auch die Fachbegriffe zu kennen.
Bedanke mich schonmal!
Kommentar