haseebmaqsood Posted July 2, 2007 Share Posted July 2, 2007 Hi Any One who will provide assistance how to store the path of an image into database and how to retrieve it and than resize Plz Help M Provide some commented code Quote Link to comment Share on other sites More sharing options...
HuggieBear Posted July 2, 2007 Share Posted July 2, 2007 Have you made any attempt at coding it yourself, if you have, can you post your code here. If you haven't and are just looking for someone to write it for you then you should post in the Freelance board of this forum. This is a help board, and as such, we provide help, suggestions and recommendations, we don't write if for you I'm afraid. Regards Huggie Quote Link to comment Share on other sites More sharing options...
sushant_d84 Posted July 2, 2007 Share Posted July 2, 2007 Hi there, When file get uploaded.. it goes the Temp Directory of the server. the file information is available in server variable $_FILES. Open the Help doc for $_FILES u will get all the info about uploaded file(s)... there also one more function move_uploaded_file .....which moves the uploaded file from Temp directory to specified destination location on server... That Destination path u can save in the Database. Use GD library for resizing the image...there are function available under GD library for resizing images.... 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.