kavian Posted February 4, 2015 Share Posted February 4, 2015 helloI have 2 php files . one on my pc and one on my host . which is on the host gets an input and check it and after that returns a string . I want to send that input from my php that's on my pc to another one and give the returned string and use it (without any changes in screen . for example opening firefox) how can i do it . thanks a lot Link to comment https://forums.phpfreaks.com/topic/294369-how-to-give-php-s-return-value/ Share on other sites More sharing options...
scootstah Posted February 4, 2015 Share Posted February 4, 2015 With CURL, probably. The remote server can process a normal POST request, and your local script can send a CURL request. Link to comment https://forums.phpfreaks.com/topic/294369-how-to-give-php-s-return-value/#findComment-1504844 Share on other sites More sharing options...
cyberRobot Posted February 4, 2015 Share Posted February 4, 2015 The PHP file on your computer could be set up to send GET or POST variables to the online PHP page. Link to comment https://forums.phpfreaks.com/topic/294369-how-to-give-php-s-return-value/#findComment-1504845 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.