ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: devel@altlinux.ru
Subject: [devel] Re: php
Date: Tue, 11 Dec 2001 03:00:03 +0300
Message-ID: <20011211000003.GC1997@localhost.localdomain> (raw)
In-Reply-To: <3C14DF8B.2090500@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]

Hello Anton,

On Mon, Dec 10, 2001 at 07:15:07PM +0300, Anton Farygin wrote:
>
> >>>>Господа, огромная просьба - в следующей сборке PHP включить опцию
> >>>>magic_quotes_gpc        =       On
> >>>>
> >>>>По умолчанию в конфигурационном файле.
> >>>>
> >>>Нет. И даже не проси. Если надо, добавь в .htaccess в соответствующей
> >>>директории.
> >>>
> >>Да добавлять конечно не буду - есть же set_magic_quotes_runtime
> >>А можно узнать - почему???
> >>
> >Полетит довольно много приложений. Недаром в php.ini-recommended стоит:
> >
> >; Magic quotes for incoming GET/POST/Cookie data.
> >magic_quotes_gpc = Off
> >
> >; Magic quotes for runtime-generated data, e.g. data from SQL, from
> >exec(), etc.
> >magic_quotes_runtime = Off    
> >
> >; Use Sybase-style magic quotes (escape ' with '' instead of \').
> >magic_quotes_sybase = Off
> >
> 
> Ясно... я то уж подумал - страшное чего :-)))
> Ну ничего ... LRN не привыкать жить в чужой для него среде.

А чего? Поскольку значение magic_quotes_gpc можно узнать в runtime и
соответственно модифицировать поведение, это не должно
представлять проблемы для продвинутого обработчика форм :)

На самом деле magic quotes суть лжа антихристова и поблажка для
ленивых программистов. Как, впрочем, и весь PHP.

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
The reason they're called wisdom teeth is that the experience makes you wise.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2001-12-11  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-10 15:07 [devel] php Anton Farygin
2001-12-10 14:58 ` Alexander Bokovoy
2001-12-10 15:59   ` Anton Farygin
2001-12-10 15:52     ` Alexander Bokovoy
2001-12-10 16:15       ` Anton Farygin
2001-12-11  0:00         ` Mikhail Zabaluev [this message]
2001-12-11 10:04           ` [devel] php Anton Farygin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011211000003.GC1997@localhost.localdomain \
    --to=mhz@alt-linux.org \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git