Re: [PHP] uploading pictures

2002-07-27 Thread Oliver Witt
Alexander Kuznetsov schrieb: > Hello Oliver, > > Thursday, July 25, 2002, 1:42:05 PM, you wrote: > > OW> Alexander Kuznetsov schrieb: > > >> i think u should set write permissions to directory > >> where u r trying to copy file > > OW> Thank you for answering. > OW> But how do I set write permisi

Re[2]: [PHP] uploading pictures

2002-07-25 Thread Alexander Kuznetsov
Hello Oliver, Thursday, July 25, 2002, 1:42:05 PM, you wrote: OW> Alexander Kuznetsov schrieb: >> i think u should set write permissions to directory >> where u r trying to copy file OW> Thank you for answering. OW> But how do I set write permisisons? With a .htaccess file? OW> Oliver i think

Re: [PHP] uploading pictures

2002-07-25 Thread Alexander Kuznetsov
Hello Oliver, Thursday, July 25, 2002, 1:23:24 PM, you wrote: OW> Hi! OW> I got a problem with uploading pictures. Using a script following this OW> schema: OW> if (is_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'])) { OW> copy($HTTP_POST_FILES['userfile']['tmp_name'], OW> "/place/t

[PHP] uploading pictures

2002-07-25 Thread Oliver Witt
Hi! I got a problem with uploading pictures. Using a script following this schema: if (is_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'])) { copy($HTTP_POST_FILES['userfile']['tmp_name'], "/place/to/put/uploaded/file"); } else { echo "Possible file upload attack. Filename: " . $HT