Re: [PHP] PHP and Front Page XP
No, this information is not provided by the browsers. Tomás Liendo wrote: Thanks! Your help solved my problems! Is there some form of obtaining the complete path??? I tried $f1_path, but don't work... :-) Thank you very much, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and Front Page XP
Thanks! Your help solved my problems! Is there some form of obtaining the complete path??? I tried $f1_path, but don't work... :-) Thank you very much, Tom. Marek Kilimajer [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] $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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP and Front Page XP
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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and Front Page XP
$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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php