Re: PHP auto global variables inside C extension

From: Date: Tue, 22 Mar 2005 07:13:59 +0000
Subject: Re: PHP auto global variables inside C extension
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-15532@lists.php.net to get a copy of this message
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" <arjun@picorp.com> 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 >

« previous php.internals (#15532) next »