Current time: 10-26-2021, 08:50 PM Hello There, Guest! (LoginRegister)


Post Reply 
how to automaticly accepting new added "Domain aliases" ?
Author Message
dzimi83 Offline
Newbie
*

Posts: 8
Joined: Sep 2009
Reputation: 0
Post: #3
RE: how to automaticly accepting new added "Domain aliases" ?
oh, I see. But if I would like to has it what and where I have to change ? I think that this can be done using cron. ie:

1. read the current state from sql (alias_status from domain_aliasses)
2. run/connect to the ispcp-rqst-mngr or ispcp-serv-mngr and enable/add the domain alias automaticly

and here is a problem for me. I can write a small php cli program for reading the domain_aliasses state from SQL, I can write a part of code to connecting to the ispcp daemon but how to add or what parameters do I have to add to the deamon for has it done ?

The second way is to write the small php script using curl to:
1. read the id from current state of domain alias (id and alias_status from domain_aliasses)
2. get session/cookie from reseller login form
3. run the reseller/alias_order.php?action=activate&act_id=ID (where ID is a sql id from a domain_aliasses table).

Am I right ?
I thking that the first option should be good but as I said - I can't manage the ispcp daemon request, is it somewhere good documented ? Smile
10-19-2009 06:58 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: how to automaticly accepting new added "Domain aliases" ? - dzimi83 - 10-19-2009 06:58 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)