<input type=file name=somefile>

$somefile
$somefile_name
$somefile_type

nice eh ?


--



Chris Lee
Mediawaveonline.com
[EMAIL PROTECTED]





""Fredrik Arild Takle"" <[EMAIL PROTECTED]> wrote in message
009d01c08adb$b67d26a0$accd4382@hp">news:009d01c08adb$b67d26a0$accd4382@hp...
Hi!

I have a form that copies a file trough a webpage...
(using copy())

But I can't fetch the extension, since php copies the file to
c:\windows\temp and calles the file something like phpdfdfe.tmp --> I cant
get the extension right (i'm writing it to a db) and the copy() outputs
permission denied!

Thanx!


---------------------------------
Fredrik A. Takle
[EMAIL PROTECTED]





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to