www.webdeveloper.com
Results 1 to 5 of 5

Thread: Save data transmission from one website to another

  1. #1
    Join Date
    Nov 2017
    Posts
    7

    Save data transmission from one website to another

    Hi there,

    I'm not sure if this is the right category.

    I want to send User Data from one (Wordpress) website to another.
    More particularly I need the user data of the registration on Website A, also in the database of Website B. Because this is sensible Data, the transfer has to be secure (SSL/https).
    What are common ways to do that and are there some good tutorials or explanations for this task?

    Thank you very much in advance for your answer!

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    22,282
    It largely depends on whether or not you have access to each site "behind the scenes", so to speak. I.e.: can you read/write directly from their databases, or do you have to use/create some sort of API, or are you solely dependent on any existing API on one of them (i.e. it's not "your" site)?
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

  3. #3
    Join Date
    Oct 2017
    Location
    Lithuania
    Posts
    71
    If you have full access to both sites (I guess so), you can simply write some type of script (API) which gets submitted data on website A, and then re-posts it to website B. You will only need PHP with curl for this.

  4. #4
    Join Date
    Nov 2017
    Posts
    7
    Thanks for your reply!
    Yes, I have access to both sites. Thank you a lot for the idea with curl.
    I guess in this post is what I need?
    Also I found here some help, if someone is interested in it too:
    https://davidwalsh.name/curl-post-file

  5. #5
    Join Date
    Oct 2017
    Location
    Lithuania
    Posts
    71
    Yes, this example should be a good starting point for your needs.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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

"

"