Archive for the “Php” category

RSS Feed for Pulse News Reader for iPad

by beto on July 1, 2011

See ATOM FEED in wikipedia for a complete guide about atom structure and options. Here’s the way i’ve done it. feed’s data is in Mysql database. So I made a query and a while to retrieve each value in all (…)

Read the rest of this entry »

Publish Status in Facebook PHP function (30/6/11) Working

by beto on June 30, 2011

$username = “FB USERNAME”; $password = “FB PASSWORD”; function setFbStatus($status,$user,$pass){ $cookiefile = tempnam(“/tmp”, “cookies”); /* Create a temporary file to store cookies. This should work on most systems and is more flexible than specifying path explicitly */ $login_url=’https://www.facebook.com/login.php?login_attempt=1′; /* The (…)

Read the rest of this entry »