View Full Version : Multiple form actions

09-08-2005, 08:11 PM
Hey guys, just need a bit of help.

I need a script that can basicly do the following:

a user fills out a form and clicks submit. I want that form to submit to 3 form action pages. So i was wondering if its possible to have it post to one php page then have that page in a loop posting to the 3 different form actions, showing a basic line saying like:

Site 1 : Done (or failed)
etc etc.

Basicly me and a friend have a site and we want to have both sites updated at the same time.

Thanks for your time.

09-08-2005, 11:30 PM
yes it's possible.

you coul open a socket to site 2 and then post the formdata to it. Runs a search here and you'll find a lott of related threads like http://www.codingforums.com/showthread.php?t=49687

09-08-2005, 11:37 PM
or simpler yet, you could just have them both read from the same database.

09-09-2005, 02:11 PM
We can't use the same database because we are on 2 different servers and that is disabled.

Raf, I read that post and maybe I should have stated that i'm a newbie ( i can do basic php stuff ) when it comes to PHP.

I read that article and it completely lost me. And help on how they got that working?

Thanks again for your help ;) :thumbsup:

09-10-2005, 09:51 PM