Dethman Posted August 14, 2008 Share Posted August 14, 2008 hey guys I need to know how to upload an image to a directory on my site I know it has something to do with this but not sure how to get it done: copy($_FILES[image][tmp_name], "uploaded_pics/$NewImage"); How would I do this its very important, Thank You Very Much, Brian Flores CEO, NimbusGames,llc Quote Link to comment https://forums.phpfreaks.com/topic/119728-upload-image-to-a-directory-on-my-server/ Share on other sites More sharing options...
ignace Posted August 14, 2008 Share Posted August 14, 2008 move_uploaded_file() Quote Link to comment https://forums.phpfreaks.com/topic/119728-upload-image-to-a-directory-on-my-server/#findComment-616860 Share on other sites More sharing options...
toplay Posted August 14, 2008 Share Posted August 14, 2008 It can be a bit involved. You can read a tutorial. This forum is for discussing very specific issues. So, if you have an issue with an upload code you have, then post form and code and state exactly what the problem is. But if you haven't even created anything substantial yet, then read some tutorials: http://www.htmlgoodies.com/beyond/php/article.php/3472551 http://www.tizag.com/phpT/fileupload.php Quote Link to comment https://forums.phpfreaks.com/topic/119728-upload-image-to-a-directory-on-my-server/#findComment-616866 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.