Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15532 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 164 invoked by uid 1010); 22 Mar 2005 07:14:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 149 invoked from network); 22 Mar 2005 07:14:03 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 22 Mar 2005 07:14:03 -0000 X-Host-Fingerprint: 66.111.4.25 out1.smtp.messagingengine.com Received: from ([66.111.4.25:40225] helo=out1.smtp.messagingengine.com) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 83/37-26545-BB5CF324 for ; Tue, 22 Mar 2005 02:14:03 -0500 Received: from web2.messagingengine.com (web2.internal [10.202.2.211]) by frontend1.messagingengine.com (Postfix) with ESMTP id E5F8BC63839; Tue, 22 Mar 2005 02:14:00 -0500 (EST) Received: by web2.messagingengine.com (Postfix, from userid 99) id D172430A1; Tue, 22 Mar 2005 02:13:59 -0500 (EST) Message-ID: <1111475639.4780.230122911@webmail.messagingengine.com> X-Sasl-Enc: AvP8ZzmvfWD8cosQlEuIHEUgnulZGDmW9I3yAoEOEwQZ 1111475639 To: "Arjun Jain" , "php-dev" Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) References: <423FC314.5060801@picorp.com> In-Reply-To: <423FC314.5060801@picorp.com> Date: Mon, 21 Mar 2005 23:13:59 -0800 Subject: Re: [PHP-DEV] PHP auto global variables inside C extension From: kameshj@fastmail.fm ("Kamesh Jayachandran") SG(rfc1867_uploaded_files) will have a list of filenames uploaded. With regards Kamesh Jayachandran On Tue, 22 Mar 2005 12:32:44 +0530, "Arjun Jain" said: > Hi everyone, > > I was wondering if there was any way in which the PHP auto global > variables could be used inside the C extension code? Where does php > store all the global variables? > > Well what I am trying to do is put the uploaded file in a custom > database. But for that I require all the four paramaters, viz > |$_FILES['userfile']['name'], ||$_FILES['userfile']['type'], > ||$_FILES['userfile']['size'] and| |$_FILES['userfile']['tmp_name']|. > > So, instead of the user having to pass all this from php as function > arguments, is there no way i can get these directly? Inside the > extension code? > Thanking you in advance. > > Regards > aj > http://arjun.notlong.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >