Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,154,665 members, 7,823,883 topics. Date: Friday, 10 May 2024 at 05:19 PM |
Nairaland Forum / Science/Technology / Webmasters / Need To Upload Image (613 Views)
Other Ways To Upload Your File To Waptrick / How To Upload A Song(your Song) Or Other Application Or File To Waptrick / Code To Upload Files To Server, Help (2) (3) (4)
Need To Upload Image by dmark4real: 8:05pm On Aug 19, 2009 |
PLease can someone help me here i have a registration page which i intend to include the BROWSE BUTTON so that picture can be uploaded along with the form entries. Can anyone kindly help with the script |
Re: Need To Upload Image by Nobody: 2:09am On Aug 20, 2009 |
what the? come up with a script just like that? them full the web, oya start searching. Inside your form, include Upload photo <input type="file" name="photo"/> then in make sure you make use of the correct enctype in your form Bleep/multi-part. , and that form submission method is post. . . . , . .then your backend scripting. . . .yawns. . .g nite |
Re: Need To Upload Image by ogzille(m): 7:06pm On Aug 25, 2009 |
this should b ur server side script $file="company_logo/".$rand.basename($_FILES["logo"]["name"]); move_uploaded_file($_FILES["logo"]["tmp_name"],$file); logo is the name of ur browse button, $file is what u store in ur db, company_logo is the folder u are uploading to. Hope it helps |
Re: Need To Upload Image by yawatide(f): 10:00pm On Aug 25, 2009 |
poster (and all those with similar requests): sometimes tis best for you to make an attempt at the problem, encounter problems then post the code you have. You learn better this way. when you just flat out ask for help from ground zero, it implies that you haven't done a thing and are looking for a quick way out. Consequently, you will most likely get the type of responses you are getting now. good luck! |
(1) (Reply)
Do You Need A Professional Website? / Anyone Interested? / Learn The Basis Of Website Design From Advanced Web Professionals
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7 |