/    Sign up×
Community /Pin to ProfileBookmark

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 [B]I need the user data of the registration on Website A, also in the database of Website B[/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!

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@NogDogNov 20.2017 — 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)?
Copy linkTweet thisAlerts:
@phpmillionNov 20.2017 — 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.
Copy linkTweet thisAlerts:
@weizenhuhnauthorNov 20.2017 — 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
Copy linkTweet thisAlerts:
@phpmillionNov 21.2017 — Yes, this example should be a good starting point for your needs.
×

Success!

Help @weizenhuhn spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...