I have installed the tiny tiny rss on to my computer (Windows) and also have Xampp installed (localhost).
I want to be able to use PHP to extract data from the Tiny tiny RSS webpage.
I have tried this it which just opens the front page:
<?php
$homepage = file_get_contents('my install tiny tiny rss url');
echo $homepage;
?>
But how do I login and extract the data.
You can use cURL to send post data and headers. To login you need to replicate the exact data exchange between the client and the server.
SOurce: http://stackoverflow.com/questions/20611918/how-to-login-to-website-and-extract-data-using-php
I want to be able to use PHP to extract data from the Tiny tiny RSS webpage.
I have tried this it which just opens the front page:
<?php
$homepage = file_get_contents('my install tiny tiny rss url');
echo $homepage;
?>
But how do I login and extract the data.
You can use cURL to send post data and headers. To login you need to replicate the exact data exchange between the client and the server.
SOurce: http://stackoverflow.com/questions/20611918/how-to-login-to-website-and-extract-data-using-php
No comments:
Post a Comment