peet1909 Posted July 3, 2008 Share Posted July 3, 2008 I need to query a URL on a different server (platinumsms.co.za/SendSMS.php?username=000&password=000 ...) from my php page without redirecting to the result page of the above URL. I use a feedback form that is processed by my PHP page ,that must send a request to the platinumsms URL and get feedback, before displaying the message "thank you for your feedback". :-\ Link to comment https://forums.phpfreaks.com/topic/113047-callquery-a-url-and-getting-the-response-without-redirecting-to-it/ Share on other sites More sharing options...
samshel Posted July 3, 2008 Share Posted July 3, 2008 Try using CURL http://php.net/manual/en/book.curl.php Link to comment https://forums.phpfreaks.com/topic/113047-callquery-a-url-and-getting-the-response-without-redirecting-to-it/#findComment-580717 Share on other sites More sharing options...
vbnullchar Posted July 3, 2008 Share Posted July 3, 2008 i think AJAX can do it.. Link to comment https://forums.phpfreaks.com/topic/113047-callquery-a-url-and-getting-the-response-without-redirecting-to-it/#findComment-580718 Share on other sites More sharing options...
samshel Posted July 3, 2008 Share Posted July 3, 2008 Hi vbnullchar , He needs to call a file from some other domain/server and as far as i know. cross domain AJAX calls do not work.. It will give you security error. Link to comment https://forums.phpfreaks.com/topic/113047-callquery-a-url-and-getting-the-response-without-redirecting-to-it/#findComment-580719 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.