Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Jul 2004
    Posts
    201
    Thanks
    8
    Thanked 1 Time in 1 Post

    Multiple form actions

    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.

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #3
    Senior Coder angst's Avatar
    Join Date
    Apr 2004
    Location
    Toronto, Ontario
    Posts
    2,114
    Thanks
    15
    Thanked 122 Times in 122 Posts
    or simpler yet, you could just have them both read from the same database.

  • #4
    Regular Coder
    Join Date
    Jul 2004
    Posts
    201
    Thanks
    8
    Thanked 1 Time in 1 Post
    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

  • #5
    Regular Coder
    Join Date
    Jul 2004
    Posts
    201
    Thanks
    8
    Thanked 1 Time in 1 Post
    ??????????????????


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •