|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Rafis Khayrullin 2:5050/9 31 Oct 2004 11:57:16 To : Roman Sotnikov Subject : Re: apache 2.0.50 --------------------------------------------------------------------------------
You wrote to All on Fri, 29 Oct 2004 08:07:06 +0500:
RS> Hаpод поможите!
RS> Обновился до сабжа и php-5.0.2, php не из поpтов.
RS> После этого пеpестали pаботать методы GET POST, пpичем дело в апаче,
RS> т.к. php-4.3.4 даёт тот же pезультат. В чём гpабли???
Это не баг, это фитча. Причем самого php.
Кусок из php.conf. Подробности читай в мануалах php там много на эту тему
написано.
; Whether or not to register the EGPCS variables as global variables. You
may
; want to turn this off if you don't want to clutter your scripts' global
scope
; with user data. This makes most sense when coupled with track_vars - in
which
; case you can access all of the GPC variables through the $HTTP_*_VARS[],
; variables.
;
; You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily
lead
; to possible security problems, if the code is not very well thought of.
register_globals = On
With best regards, Rafis Khayrullin. E-mail:
Rafis.Khayrullin@f9.n5050.z2.fidonet.org
--- Microsoft Outlook Express 6.00.2720.3000
* Origin: //Unix or dead... (2:5050/9)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/2241956edfd9.html, оценка из 5, голосов 10
|