#1  
Old 25th July 2012, 12:39
warlock warlock is offline
Member
 
Join Date: Nov 2008
Posts: 93
Thanks: 1
Thanked 6 Times in 4 Posts
Default API Help

Hi Guys,

I just need a quick nudge in the right direction,
I have downloaded the remote_client from the tar file and I am testing
the dns_a_get.php I have configured the soap_client.php and I can see that I am getting a successfull login and logout "so far all good"

I now want to pass a parma. to the website to retrieve some info

http://www.example.com/dns_a_get.php?zone=mydomain.com

please can some one tell me how and what to pass in order to retrieve the details from mydomain.com

Shot
Reply With Quote
Sponsored Links
  #2  
Old 25th July 2012, 12:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,655 Times in 4,464 Posts
Default

The example files are not made to pass params to them, the params are defined inside the files.

To get the A-Record mydomain.com use this command in your script:

Code:
$dns_record = $client->dns_a_get($session_id, array('type' => 'A', 'name' => 'mydomain.com%'));
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th July 2012, 12:57
warlock warlock is offline
Member
 
Join Date: Nov 2008
Posts: 93
Thanks: 1
Thanked 6 Times in 4 Posts
 
Default

Thanks Till,

I remember now
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding API Functions The Other Air Force Developers' Forum 3 10th August 2012 09:40
Folder Protection API snowfly General 4 9th January 2012 09:15
mysql_* API deprecation nveid Developers' Forum 1 7th October 2011 10:32
ISPConfig3 + API + BoxBilling class450dude Installation/Configuration 3 22nd August 2011 23:32
how openVPN uses NDIS API on linux tarun@howtoforge Suggest HOWTO 0 3rd June 2008 10:22


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


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