$url is the URL to execute
$url = $_GET['url'];$file = fopen ($url, "r");if (!$file){echo "Error.n";}else{header('Content-Type: text/xml');while (!feof ($file)){$line = fgets ($file, 1024);echo $line;}}fclose($file);
How to pass information from JavaScript to PHP/JSP – mix of PHP and JavaScript
//we are passing some value say 15 from JavaScript to PHPlocation.href="?xyz=15";
fsockopen
$fp = fsockopen("$urlToExecute"); if (!$fp) { echo "$errstr ($errno)
n"; } else { $out = "GET / HTTP/1.1rn"; $out .= "Host: $urlToExecutern"; $out .= "Connection: Closernrn"; fwrite($fp, $out); while (!feof($fp)) { echo fgets($fp); } fclose($fp); }
CURL: activate curl in php.ini
XML-RPCCreating and Consuming Web Services With PHP
check: http://webservices.xml.com/pub/a/ws/2004/03/24/phpws.html
http_get
$response = http_get($urlToExecute, array(“timeout”=>1), $info);
From: http://sitestree.com/?p=5133
Categories:16
Tags:
Post Data:2008-08-22 11:42:28
Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
(Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a>
In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
<a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>