Heya Frank, Actually, expiredate is returned as one of the attributes for both set_cookie or get_userinfo, so there's no need to parse this out of the whois.
Take care, Mark. On Tue, 16 Jul 2002, Frank Michlick wrote: > Robert, > > Please read below for my reply. > > ----- Original Message ----- > From: "Robert Kaiser" <[EMAIL PROTECTED]> > Sent: July 16, 2002 18:04 > > > > I did a search on the dev-list for allowing sub-users to renew > expiring > > domains and the response was that it would have to be built in. My > > question now is: Was this ever built in? If not, is it possible to > > implement the renewal features for sub users in the domain manager? > Are > > there any issues through the back end that would prohibit this? > > In general, you can renew a domain name without knowing the username > and password. However there's one major problem: You need to supply > the current expiry year for the domain name with the renewal command. > This informartion can be retrieved with the get_domain action, but > unfortunately, this action is not available to a subuser. The only > possible workarround I can think of for the moment would be to parse > the current expiry year from whois, but it's certainly not quite the > proper way of doing this. > > Why do you want the subuser to be able to renew the domain name, if I > may ask? > > Best regards, > Frank Michlick > -- > Tucows / OpenSRS > Senior Sales Engineer > >