On Mar 2, 5:36 pm, Charl van Niekerk <[email protected]> wrote:
> On Wed, 2011-03-02 at 07:25 -0800, lam3r4370 wrote:
> > Can You try it with your implementation?
>
> Seems to be working fine this end:
>
> http://is.gd/qyqy6M
My code:
if(isset($_GET["hub_challenge"])) {
exit($_GET["hub_challenge"]);;
}
$feeded = $_POST['feed'];
$ch = curl_init("http://pubsubhubbub.appspot.com");
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch,CURLOPT_POSTFIELDS,"hub.mode=subscribe&hub.verify=sync&hub.callback=http://
rssreaderbg.net/pubsubbub/example/cssexam/index1.php?url=
$feeded&hub.topic=$feeded");
curl_exec($ch);
$conn = mysql_connect("localhost","rssreade_rss","siatsowi");
mysql_select_db("rssreade_rss");