428 results for «cPanel» (page 29 of 43)
-
Hotlink protection: stop others using your bandwidth
Hotlinking is when another website displays an image of yours straight from your server, instead of keeping a copy on theirs. To their visitor it looks like an ordinary image;…
-
Connecting to MySQL from PHP: mysqli and PDO, with a working example
PHP has two ways of talking to the database: mysqli (MySQL and MariaDB only) and PDO (which also serves PostgreSQL and others). For a new project PDO is the safe…
-
Sending e-mail from PHP: mail() or SMTP
Use SMTP with a real mailbox on your domain. The mail() function is fine for a quick test, but it returns “sent” only because the local mail program accepted the…
-
Switching a PHP extension on or off in Select PHP Version
In cPanel, open Select PHP Version (the Software section), pick the PHP version, open the Extensions tab and tick or untick the extension’s box. That is all, and it takes…
-
How to restore only the database from a backup
In cPanel, open JetBackup 5 (Files section), pick the day, and restore only the one database, leaving the files and the e-mail alone. A restore replaces the current database with…
-
Which hosting plan for a portfolio or photography site
A portfolio asks for little processor and plenty of disk space and well-handled images. Images define it: each one is a large file, and a gallery turns into dozens of…
-
A table marked as crashed: what it means and how to repair it
The message Table is marked as crashed and should be repaired means a table, almost always of the MyISAM type, has an inconsistent file, usually because something stopped halfway through…
-
The 3-2-1 backup rule for a website: which three copies, and where to keep them
The 3-2-1 rule says: 3 copies of what matters, on 2 different kinds of storage, with 1 copy away from where the rest lives. The point is not the numbers:…
-
Importing a database with phpMyAdmin, and the size limit that stops you
Create an empty database, open it in phpMyAdmin, go to the Import tab, choose the file (.sql, .zip or .gz) and click Import (or Go). If the file is bigger…
-
Creating a database user and giving it the right privileges
A database without a user is no use to anyone, and a user with too many privileges is an open door. In cPanel you do it in MySQL Databases: create…





