etnoo Posted December 1, 2007 Share Posted December 1, 2007 I have 4 images. I need to be able to have 4 random people upload their image "x.jpg" and replace each of those images. So i guess i need a way to take the uploaded data (x.jpg) and write it to html file so it will overwrite the current image. Any help will be appreciated. Quote Link to comment Share on other sites More sharing options...
Wes1890 Posted December 1, 2007 Share Posted December 1, 2007 ^ No need to edit the html, just replace the images in your images directory. Search google for a PHP Image Upload Script and when the user uploads an image, just have it replace the old one in the directory Quote Link to comment Share on other sites More sharing options...
etnoo Posted December 1, 2007 Author Share Posted December 1, 2007 Would there be an issue with the files/pictures having different names? Quote Link to comment Share on other sites More sharing options...
Wes1890 Posted December 2, 2007 Share Posted December 2, 2007 ^ You can rename them before saving them... thus overwriting the old ones Quote Link to comment 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.