Usman Jewellers
Sir I am making online application for my gold jewellery buisness.I want to ask that how I can upload pic and save that pic in xamp mysql through php code. I have designed one form in html in which I want to add image.There should be browse button then I will select image from my hard drive and upload that image.kindly tell me procedure.Thanks
Quote 0 0
sfaisalawan
Usman,

Image ko database man save karna ak poor programing practice ha, because images are some time big in size to app ka database ka size bohat zyada ho sakta ha jo database ke performance par asar andaz ho ga or jasay jasay datbase bara hota jay ga performance slow hotee jay ge.

in real world app file ko apne web application ke ak directory man save kartay ho or os location ka complete address database man store kartay ho. is sa ap ka database ka size be kam rahta ha or os ke performance par be koi asar nahin parta.

lakin agar app sirf experiment karna chatay ho to phir idea ya ha ka ap image ka byte array latay ho or os value ko database man store kartay ho ho ka recommended nahin ha.
Quote 1 0

Add a Website Forum to your website.

 
Urdu IT Accademy � 2013 | License Agreement