please help me!
| From: | eliza L | Date: | Tue, 06 Aug 2002 02:30:21 +0000 |
| Subject: | please help me! | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-11747@lists.php.net to get a copy of this message | ||
Dear webmaster:
I appreciate if you can read this email and give me
some advice.
I'm new user of PHP. I began to use it a month ago.
At first I install PHP 4.0.6 into my computer.
Later a friend told me that PHP has some security
bugs.
Then I downloaded the newest version PHP 4.2.2.
But after I updated my PHP, it couln't work correctly.
At first, I couldn't get vars and session.
Then I reedit my code.
By $HTTP_GET_VARS[] I can get vars transport from the
pre page.
By $HTTP_SESSION_VARS[] I can get session vars.
By $HTTP_post_VARS[] I can get post vars.
But I still can't get post file vars.
For example:
<input type="file" name="userfile" size="60">
After I choose a certain file and submit, the result
of <? echo $HTTP_POST_VARS[userfile]; ?> is null, and
the result of <? echo $HTTP_POST_FILE[userfile]; ?>
is "Array". I can't get the right result.
Would you please tell me how to solve this problem?
Best regard to you.
Eliza
_________________________________________________________
Do You Yahoo!?
世界杯风云跌宕 网站报道最爱哪家
http://sweepstakes.yahoo.com/fifa_survey