Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to replace image in an ASP page

Status
Not open for further replies.

zia

Technical User
Dec 27, 2001
1
IR
I am updating some text information in an ASP page, so that when I press submit button the
updated information is stored in the database.
Is this possible to replace the image file of an ASP page with some other image file.
How I will attach the submit button with the form, because it is already attached with the text
field. Is there any other way to do this, so that the user can update text and images
of the ASP page without using any editor .
Thanks
 
is it a user uploaded image, or something that you already have sitting on your server?

if it's user uploaded, you'll need an upload component installed on your server. Check your host, any halfway decent host will have an upload component installed on there.

after that, all you need to do is add a
<input type=&quot;file&quot; name=&quot;ulfile&quot;>

to show the file dialog box.

hope this helps
leo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top