|
dmark4real
|
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
|
|
|
|
|
|
*dhtml
|
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 xxx/multi-part. , and that form submission method is post. . . . , . .then your backend scripting. . . .yawns. . .g nite
|
|
|
|
|
|
ogzille
|
this should b your server side script $file="company_logo/".$rand.basename($_FILES["logo"]["name"]); move_uploaded_file($_FILES["logo"]["tmp_name"],$file);
logo is the name of your browse button, $file is what u store in your db, company_logo is the folder u are uploading to. Hope it helps
|
|
|
|
|
|
yawa-ti-de (f)
|
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!
|
|
|
|
|
|