Re: please help me!

From: Date: Tue, 06 Aug 2002 06:59:13 +0000
Subject: Re: please help me!
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-11755@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? Read the documentation. http://www.php.net/manual/en/features.file-upload.php Goba [one webmaster@php.net]

« previous php.mirrors (#11755) next »