I would like to know how does this class from:PHP Script to Edit DNS Records in CPanel posted by: Scott.
I would like to know how can I use this:
$zones->addrecord($type, $target, $name, $ttl)
Because Im having this problem when I try to put the right name:
Uncaught exception 'Exception' with message 'Invalid name 'teste'..
I tried:
$zones->addrecord('A', 'ip','somename', 14400)