Re: [PHP] Help with copy()/uploading a file

2003-09-03 Thread Marek Kilimajer
Use move_uploaded_file() instead of copy(). The former bypasses safe mode restrictions. James Johnson wrote: Hi, I need some help with the copy() function in order to allow a user to upload an image. The image will need to be in a folder that I can access it's URL for display in a page. The

[PHP] Help with copy()/uploading a file

2003-08-31 Thread James Johnson
Hi, I need some help with the copy() function in order to allow a user to upload an image. The image will need to be in a folder that I can access it's URL for display in a page. The hosting company, www.dreamhost.com, isn't too helpful with my requests for help. I have the following code: