Htaccess password protect generator

Password protect folders or files using htaccess. Users will need to enter their username and password to gain access to files or folders. If you do not stipulate a file or directory to protect, then the directory that the .htaccess file is in will require a password to access.
Htaccess password protect details
Username:
Password:
Path to password file:
Full server path to the folder where the .htpassword file will be stored, including leading slash
Message to display in popup:
File/directory to protect:
Leave blank to protect current directory
Share the Htaccess password protect generator on Facebook

Warning: require_once(/home/htmlbasi/public_html/onlinepro/online.php): failed to open stream: No such file or directory in /home/htmlbasi/public_html/generator.php on line 224

Fatal error: require_once(): Failed opening required '/home/htmlbasi/public_html/onlinepro/online.php' (include_path='.:') in /home/htmlbasi/public_html/generator.php on line 224