SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
Thread: Multiple Sumbitting actions
-
Aug 21, 2001, 22:18 #1
- Join Date
- Oct 2000
- Posts
- 146
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Multiple Sumbitting actions
When someone submits a form to have to submit to more then one place? For example, send the info to a database and also send it somehwere else. Is this possible?
-
Aug 21, 2001, 22:28 #2
- Join Date
- Oct 2000
- Location
- Austin, TX
- Posts
- 1,438
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Technically no, but you could set the target of the form to _blank, and run a javascript function that submits the form to the default action, modifies the action to the second page and changes the target to either a new window or _self, and then re-submits the form.
Another option is to have an intermediary script that inputs data to the database and then forwards the data to another page.ck :: bringing chris to the masses.
-
Aug 22, 2001, 06:44 #3
- Join Date
- Mar 2001
- Location
- Kent, United Kingdom
- Posts
- 5,275
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I'm going to put this in the Client Side Scripting forum. You will probably get a better response there.
Saz: Naturally Blonde, Naturally Dizzy!
No longer Editor of the Community Crier.
Don't mind me, I'm having a BLONDE moment!
-
Aug 22, 2001, 08:27 #4
- Join Date
- Jul 2001
- Location
- Scotland
- Posts
- 4,836
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
if u use asp, and the other file would nbe on the same server, it would be possible using the response.execute() command, and if it was on another server, it could be done using the M$ XMLHTTP component, jus ask if you need more details
-
Aug 22, 2001, 08:39 #5
- Join Date
- Oct 2000
- Posts
- 146
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
umm...I use php, but the I want to send one action away from the server.
-
Aug 22, 2001, 08:45 #6
- Join Date
- Jul 2001
- Location
- Scotland
- Posts
- 4,836
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
well, that leaves me out i only do asp
and i could do it with the XMLHTTP component, dont know if theres something like it in php, maybe u should post in the php forum?
Bookmarks