Skip to main content
Participant
July 22, 2006
Question

Insert Record

  • July 22, 2006
  • 1 reply
  • 185 views
I am using the asp language
I am trying to develop an application where a user specifies the location of an image on there harddrive and it is uploaded on to my site (I have have done this)
The next thing i want it to do is create a record in a database with the location of the image on the website.
I do not want to create the record however until the image is succesfully uploaded.
once the image is uploaded users are redirected to done.asp
I want to create a self submitting form on done.asp to insert the record. How can i do this??????
This topic has been closed for replies.

1 reply

Inspiring
July 24, 2006
You don't specify the application server but most file upload scripts will
let you return the name of the loaded file. You should be able to grab this,
set it to a session variable, and then you should be able to write the
insert script on your done page, and fire it with an onload event in the
<body> tag.

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"bondeblade" <webforumsuser@macromedia.com> wrote in message
news:e9t27p$e73$1@forums.macromedia.com...
>I am using the asp language
> I am trying to develop an application where a user specifies the location
> of
> an image on there harddrive and it is uploaded on to my site (I have have
> done
> this)
> The next thing i want it to do is create a record in a database with the
> location of the image on the website.
> I do not want to create the record however until the image is succesfully
> uploaded.
> once the image is uploaded users are redirected to done.asp
> I want to create a self submitting form on done.asp to insert the record.
> How
> can i do this??????
>