Re: [PHP] Rename generates level 2 warning but works

2003-12-31 Thread Lowell Allen
> Lowell Allen wrote: > >> >> Try using $HTTP_POST_FILES['uploadedFile']['name'] instead. I wasted a bunch >> of time yesterday with an upload script that did not recognize files when >> using "$_FILES", but worked fine with "$HTTP_POST_FILES" -- PHP 4.3.4 on >> Linux. >> > Thank you for the sug

Re: [PHP] Rename generates level 2 warning but works

2003-12-31 Thread Roger Spears
Lowell Allen wrote: Try using $HTTP_POST_FILES['uploadedFile']['name'] instead. I wasted a bunch of time yesterday with an upload script that did not recognize files when using "$_FILES", but worked fine with "$HTTP_POST_FILES" -- PHP 4.3.4 on Linux. Thank you for the suggestion. Unfortunately, i

Re: [PHP] Rename generates level 2 warning but works

2003-12-31 Thread Lowell Allen
> I have this magical script which uses rename. A visitor to the site > uploads a file and I want to rename it to a timestamp. Oddly enough, > the rename() function actually works, it renames the file AND then > generates a level 2 warning: > > Error code: 2 > Error message: rename() failed (No