Jun
17th

PHP5: Sample Code to Post and Retrieve from Jaiku

Just figured I’d put this out there to whomever would like it, it’s sample code for posting to and retrieving from Jaiku. Warning, it does utilize SimpleXML so PHP5 is a requirement.

Jaiku Sample Form

Here’s the form in action, it has a link where you can download the source code. I left it plain because I figured folks would want to customize it themselves. If you like it, there’s a link on the form to download it. If you want to hard code it for your own usage, you can simply hard code the variables $mykey and $myuser. (Example: $myuser = “douglaskarr”;)

  • Dave
    You just have to get PHP 5
    PHP is strict on declarations.

    Make sure you declare variables once only.
    Great language! Java and ASP beater!

    Get coding... PHP will Reign Supreme!
    Interfaces, Abstarct Classes, somebody wake me up!

    Dave
    As seen on TV
  • Thanks for putting this up. However, my web host isn't on PHP5 yet. Do you know what to use in stead of SimpleXML?
  • Yes, it can still be done in PHP but you'll have to loop through the XML using DOM. (A pain in the butt!) :)
blog comments powered by Disqus