Talking to Plazes from PHP

The code described here has been moved into Subversion.

Next step in my Plazes experimenting: getting PHP to find out “where I am.”

Grab this PHP script, edit with the value of your Plazes username and password, and then run. The result will look something like this:

The script assumes the presence of XML-RPC for PHP, which is easy to grab and install. All the script does it to dump an array reflecting what’s returned, via XML-RPC, from the Plazes server, but the code should give you enough to go on to do many more interesting things.

Comments

Add new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.

Plain text

  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Typographic refinements will be added.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.