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 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    The Netherlands
    Posts
    252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Submitting form to third party's website

    Hey,

    I was wondering whether the follwing is possible: I've got a form on my website that I submit to someone else's form that is located on another webserver. It is a ordering-form and this way I'm able to place orders in this third party's database, without me knowing their login information.

    After the form is submitted, a confirmation page of this third party's page is displayed. Actually I'd like to display my personal 'thank you' page instead. SO I want to submit the form, check whether the order is correctly stored and then replace their output with mine ... Is this possible and if so how can I achieve this?

    Michiel

    PS I'd like to stress out that this concers a legal action and is approved by the third party. They just don't want to change their system for me, that's why

  • #2
    New Coder
    Join Date
    Jul 2003
    Location
    Angier, NC
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You CAN do this, but it would be a LOT easier if you got an account on their database system. Even if it was only a read/write account. Check with them, and see if they would be willing to give you one that you could use to include in your scripts. Then you would just use

    PHP Code:
    mysql_connect([url]www.theirserver.com,[/urlthelogintheygaveyouthepasswordtheygaveyou); 
    No matter what happens, someone will find a way to take it too seriously -- Joe Davy

    www.axiscreations.com


  •  

    Posting Permissions

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