pneudralics Posted March 19, 2006 Share Posted March 19, 2006 I see alot of forms help but nothing on how to add an upload section to the form too. I'll like all the usual name,email, etc but I'll also like for people to be able to upload a picture. Anyone know of any tuturials out there? Thanks. Quote Link to comment Share on other sites More sharing options...
earl_dc10 Posted March 19, 2006 Share Posted March 19, 2006 a quick google search "how to upload on a form" yielded a number of results, the first one looked like a winner [a href=\"http://cgi-lib.berkeley.edu/ex/fup.html\" target=\"_blank\"]here[/a] Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted March 20, 2006 Share Posted March 20, 2006 The manual is another excellent place to look:[a href=\"http://us3.php.net/manual/en/features.file-upload.php\" target=\"_blank\"]http://us3.php.net/manual/en/features.file-upload.php[/a] Quote Link to comment Share on other sites More sharing options...
pneudralics Posted March 20, 2006 Author Share Posted March 20, 2006 I have a registration submit form..then after they submit the form it leads to an upload form. How would I add that with the registration form? current upload pictures:[code]<form method="post" action="{%LINK_FORM%}" enctype="multipart/form-data"> <div><input type="hidden" name="step" value="2" /></div> <div><input type="hidden" name="user" value="{%POST_user%}" /></div> {%LANG_please_upload%} <div style="padding-left:20px;padding-top:20px;"> <div style="padding-bottom:6px;"> {%LANG_image%} {%ERROR%} <div style="padding:4px;"> <input type="file" name="image" size="30" /> </div> </div> <div style="padding:10px;"> <input type="submit" value="{%LANG_upload_pic%}" style="cursor:pointer;" /> </div> </div> </form>[/code]current submit input from registration.[code]fieldsfieldsfieldsgoes down to submit..<input type="submit" value=" {%lang_submit_form%} " style="cursor:pointer;" /> [/code]Is there a way to add that together so that there will be an upload box as part of the registration form? I've seen it before just don't know how to do it. Maybe add it in the submit input somehow??Thanks for the help. 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.