Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28975 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76708 invoked by uid 1010); 24 Apr 2007 12:58:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 76693 invoked from network); 24 Apr 2007 12:58:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2007 12:58:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=sesser@hardened-php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=sesser@hardened-php.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain hardened-php.net from 81.169.159.221 cause and error) X-PHP-List-Original-Sender: sesser@hardened-php.net X-Host-Fingerprint: 81.169.159.221 hardened-php.net Linux 2.4/2.6 Received: from [81.169.159.221] ([81.169.159.221:48856] helo=mail.hardened-php.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F2/3A-21560-BEEFD264 for ; Tue, 24 Apr 2007 08:58:25 -0400 Received: from [192.168.1.77] (p5B00587B.dip.t-dialin.net [91.0.88.123]) by mail.hardened-php.net (Postfix) with ESMTP id F17DB1202A6; Tue, 24 Apr 2007 13:37:38 +0200 (CEST) Message-ID: <462DFEE8.1080008@hardened-php.net> Date: Tue, 24 Apr 2007 14:58:16 +0200 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Ci Cc: internals@lists.php.net References: <88.B2.24904.A6B3B264@pb1.pair.com> <2A.C4.21560.B43FD264@pb1.pair.com> In-Reply-To: <2A.C4.21560.B43FD264@pb1.pair.com> X-Enigmail-Version: 0.94.3.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: access to variables From: sesser@hardened-php.net (Stefan Esser) Hello, > zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), > "DOCUMENT ROOT", sizeof("DOCUMENT ROOT"), &data); > strcpy(buffer, Z_STRVAL_P(data); It is called DOCUMENT_ROOT, not DOCUMENT ROOT... -sesser