• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
XML-RPC with PHP and AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XML-RPC with PHP and AppleScript


  • Subject: XML-RPC with PHP and AppleScript
  • From: Jesse Shanks <email@hidden>
  • Date: Sun, 06 Jan 2002 16:53:58 -0800

I have the Usefulinc implementation of the PHP Classes going.

Several of the examples and tests work fine for me when I make the XML-RPC
calls from Applescript.

But, I am not getting the way to make a struct in the right record format. I
feel like I have tried every possible way.

tell application "http://localhost/~username/server.php"; to return call
xmlrpc {method name:"examples.getReviewNames", parameters:}

How would parameters look, if was sending a struct of string values? I seem
to have had it work fine when it was a bunch of numbers. There is one
example (sorting demo) that requires:

an array of structs thus:

Dave 35
Edd 45
Fred 23
Barney 37

This returns them in sorted order.

I feel like I am misssing something crucial and none of the Applescript
samples that are around seem to directly address the proper syntax of a
struct.

Thanks


  • Follow-Ups:
    • Re: XML-RPC with PHP and AppleScript
      • From: Jim Roepcke <email@hidden>
  • Prev by Date: Re: Applescript and VBA
  • Next by Date: AppleScript Distribution Legalities
  • Previous by thread: Re: elapsedTime - handler for returning time strings
  • Next by thread: Re: XML-RPC with PHP and AppleScript
  • Index(es):
    • Date
    • Thread