AMFPHP

Events happening in the community are now at Drupal community events on www.drupal.org.
pajoh's picture

User Service Module - Upload/Change User Picture

I am using Flex 2.0 and AMFPHP to access Drupal user services, and it has been going pretty smoothly. I've managed to create a couple simple user services on my own.

However, I am currently attempting to expand the user service module to allow uploading / changing the user picture. I am have more difficulty with this.

The following is my first stab at this and it doesn't work. I am hoping someone could point me in the right direction! Thanks!


function user_service_image( $source ) {

$info = image_get_info($source);
$file = file_check_upload( $source );

if ($file){
Read more
averageyoungman's picture

A really, really simple Services + AMFPHP example using Flex

Hello,

Many seem to be chomping at the bit for examples, and seeing as I've got this working I figured I might as well post one. This is about as simple as you can get in terms of retrieving data from Drupal, via services.module, in Flex:

Read more
Subscribe with RSS Syndicate content