autoglobal variables inside C extension
| From: | Arjun Jain | Date: | Tue, 22 Mar 2005 07:04:26 +0000 |
| Subject: | autoglobal variables inside C extension | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-2198@lists.php.net to get a copy of this message | ||
Hi everyone,
To elaborate on my question:
Well what I am trying to do is put the uploaded file in a custom database. But for that I require all the four parameters, 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