HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   How to get user data remotely (http://www.howtoforge.com/forums/showthread.php?t=54489)

laptop_user 10th October 2011 04:12

How to get user data remotely
 
First of all, thank you very much for the remoting client example. It's really a time saver.

My question is how can I fetch client data remotely. I see the functions client_get ($session_id, $client_id) in remoting.inc.php but the usage is somewhat vague. I'm not sure whether that's the right function to use.

I need to retrieve user data (address, street, mobile etc etc) and populates it into textbox.

Thanks in advance

till 10th October 2011 09:24

Please download ispconfig 3.0.4 beta and take a look into the remote_client directory, it contains example functions and the AI documentation of the remote API.

laptop_user 10th October 2011 20:12

Quote:

Originally Posted by till (Post 265131)
Please download ispconfig 3.0.4 beta and take a look into the remote_client directory, it contains example functions and the AI documentation of the remote API.

Hi Till,

I already take a look the directory. Add, Update and Delete works nicely. I need to retrieve client data (this is where I'm stuck) like zip code, street address, mobile No. etc etc and shown it into text box. Client then can edit their detail and I can use soap-alias-update.php to update the file.

Now the problem is how can I retrieve user data using function? There's no example file for that.

I appreciate your response Till.

till 10th October 2011 21:12

Download the 3.0.4 beta, it contains a example of the client_get function and the documentation of the full api. The information is not in the stable release, so download the beta.

laptop_user 10th October 2011 21:27

Quote:

Originally Posted by till (Post 265131)
Please download ispconfig 3.0.4 beta and take a look into the remote_client directory, it contains example functions and the AI documentation of the remote API.

I should pay more attention :p Thank you till. It works :D


All times are GMT +2. The time now is 12:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.