Hi, Im trying to use php to remotely automatically create cpanel accounts, according to cpanel documentation I need to require /usr/local/cpanel/Cpanel/Accounting.php.inc
however im with hostgator, and they wont give me access to the usr directory.
Consequently when i try to require this file, i get the following error.
File(/usr/local/cpanel/Cpanel/Accounting.php.inc) is not within the allowed path(s): (/home/grumble/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/grumble/public_html/share.php on line 4
If i ask my host, to copy the accounting.php.inc file and move it into another directory--- will I then be able to access it , without any problems?
however im with hostgator, and they wont give me access to the usr directory.
Consequently when i try to require this file, i get the following error.
File(/usr/local/cpanel/Cpanel/Accounting.php.inc) is not within the allowed path(s): (/home/grumble/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/grumble/public_html/share.php on line 4
If i ask my host, to copy the accounting.php.inc file and move it into another directory--- will I then be able to access it , without any problems?