Create FTP accounts on cPanel hosting. No need to login to cPanel. Provide cPanel login and password once, and use this script each time you need new FTP account.
Can be run in either way:
- Parameters passed via URL (see example below)
- If no parameters passed via URL then will show entry form for FTP account parameters
Usage:
- Update script with your cPanel login, password, skin (once)
- When running script to create FTP account, provide following data:
-
- Domain - create FTP account for this domain
- FTP Username - FTP account username
- FTP Password - FTP account password
- FTP Quota - quota in Mb
- Home Folder - FTP account home directory
Sample parameters passing via url:
cpanel-add-ftp.php?domain=reseller.com&fuser=ftp555&fpass=ftp12345&fquota=500&fhomedir=
|