Sometimes customers want to show their stats to other people, without giving them access to the cPanel.
This can be accomplished with a small script that we have available HERE. This is a ZIP file. Inside there is a single file called index.php. You must unzip the file and then EDIT the file to specify your cPanel username and password and your domain.. then upload the file to the server.
The top of the file looks like this:
$user = 'blahcom';//your cpanel username
$pass = 'abcd1234';//your cpanel password
$domain = 'blahblah.com';//your domain name do not include 'http://' or 'www.'
With a basic text editor, put in YOUR info in place of the example data.
Next, FTP into your web hosting account on our server, and go into the public_html directory, then create a new directory called 'stats' or whatever you want to call it. This will be the URL of your stats, like http://www.blahblah.com/stats.
Next, upload the script, index.php into the new stats directory you created, using an FTP client.
One last option is to password-protect the stats directory, so only certain people can view it. This is done by going into your cPanel, click on Web Protect, and setting up a username and password for the stats directory to protect it. Instructions are here.
Any questions, please let us know!
- 1 Users Found This Useful
SFTP stands for Secure File Transfer Protocol. You can use it to transfer files between your...
QTH.com is pleased to offer FREE "Let's Encrypt" SSL Certificates and HTTPS Hosting Service for...
If you would like to help promote QTH.COM hosting services, you may wish to put this small icon...
The small icon displayed next to the URL in the address bar of your web browser (Chrome, Internet...
If you are having problems with web forms in PHP, take a look at this web site, which discusses...