On Wed, 2011-03-02 at 07:45 -0800, lam3r4370 wrote:
> 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");
I think the code is being cut off, maybe try an implementation of a
pastebin instead?