Re: PHP and Front Page XP
| From: | Marek Kilimajer | Date: | Mon, 31 Mar 2003 15:20:21 +0000 |
| Subject: | Re: PHP and Front Page XP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141701@lists.php.net to get a copy of this message | ||
$f1 is the temporary file namen your server, you need to use $f1_name, or even better $_FILES['f1']['name']
Tomás Liendo wrote:
Hello people, I have the following strange problem: I designed a form with Front Page XP, and with PHP I save the fields in a MySQL data base. All fields work perfect, except one. This is a control to upload files: <INPUT type="file" name="f1"> The problem is that in the data base the value selected for the user is not recorded. Instead of that a value as "/tmp/phpd7Fski" is recorded. I don't know if my problem is Front Page, PHP or my Web server (Apache)... As a test I printed the value of the varible $f1: <? echo $f1 ?> This shows the following: "/tmp/phpd7Fski", instead the value selected by the user. Well I hope somebody can help me, from already thank you very much, Tom.