|
I hv made a webpage and i designed a form in which the user can insert city information with city photo from any where.
for that i use asp as server side. database - ms access
Now i want to store the data in database but the selected photo of city i want to store in one folder on server named upload in www directory
i used asp file copy, asp file upload, but it cant
i use <input type=file> to input photo from user.
any idea???????? to upload image on web server by this form not on localhost but web server where we host pages.
pls also tell me how we set server path not local host im talking about webserver.
Its not impossible but its not easy to answer my question ACTIVE SERVER PAGES............................
Use file upload control. Uploding a file is not like saving text with text field. You have to create a separate folder in web server and copy the files uploded by users. This is similer to yahoo mail attachment process. The file upload control will help you to do this. best thing is search the web "asp file upload control" or sisit asp101.com
Its not impossible but its not easy to answer my question ACTIVE SERVER PAGES............................
see some asp examples at http://www.pscode.com, you will find lots of examples for file uploading
|