Re: [PHP] .jpg/.gif extension problem!

2001-01-30 Thread Richard Lynch
>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! If your filename variable is $foo, then $foo_name will have the orig

Re: [PHP] .jpg/.gif extension problem!

2001-01-30 Thread Chris Lee
$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

[PHP] .jpg/.gif extension problem!

2001-01-30 Thread Fredrik Arild Takle
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 de