radiations3 Posted July 17, 2011 Share Posted July 17, 2011 Hi this is faizan and i am new in the world of php i need your little help if you can help me with this then that'll be so nice of you.. I want to know how to upload an image along with its description using php and when we do so its description gets saved in our database of our server and also picture get saved in our server's memory and when we delete the genrated post the picture and the database saved data related to that picture also gets deleted just like adding any picture in facebook. when we add the picture then it appears on the top of our profile as being a new post.??? Kindly if you can help me with this i'll be very thankful to you then reply me at [email protected] Regards, Faizan (faizy) Link to comment https://forums.phpfreaks.com/topic/242179-uploading-pictures-using-php-need-help/ Share on other sites More sharing options...
robert_gsfame Posted July 17, 2011 Share Posted July 17, 2011 very simple. use this to learn http://www.w3schools.com/php/php_file_upload.asp Link to comment https://forums.phpfreaks.com/topic/242179-uploading-pictures-using-php-need-help/#findComment-1243677 Share on other sites More sharing options...
radiations3 Posted July 17, 2011 Author Share Posted July 17, 2011 very simple. use this to learn http://www.w3schools.com/php/php_file_upload.asp Okay then after uploading how to display the uploaded image on the top of the main page just like facebook uploading of images???? Link to comment https://forums.phpfreaks.com/topic/242179-uploading-pictures-using-php-need-help/#findComment-1243680 Share on other sites More sharing options...
robert_gsfame Posted July 17, 2011 Share Posted July 17, 2011 <img src="yourimagefolder/yourimagesource"> if you are thinking of directly retrieving the images once uploading it, then you have to use AJAX Link to comment https://forums.phpfreaks.com/topic/242179-uploading-pictures-using-php-need-help/#findComment-1243681 Share on other sites More sharing options...
radiations3 Posted July 17, 2011 Author Share Posted July 17, 2011 oh damn i am not good with ajax :-(. But thanx for the help.... I'll try what i can do.... Link to comment https://forums.phpfreaks.com/topic/242179-uploading-pictures-using-php-need-help/#findComment-1243682 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.