Jump to content

Auomatically forward data once you enter PHP site


pioneerx01

Recommended Posts

depends on how the other server will accept the data. if it's a simple GET, you might open the remote URL like

 

file_get_contents("http://www.otherdomain.com/storage.php?name=$name&email=$email");

 

but if you have to POST the content, you'll probably want to use curl: http://php.net/manual/en/book.curl.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.