408 results for «cPanel» (page 27 of 41)
-
PHP sessions: where they live, and why users get logged out
A PHP session is a small file on the server, tied to the visitor by a cookie (the PHPSESSID). That is where the application keeps who is logged in, what…
-
Keeping your own copy of your e-mail: how to back up a mailbox
Your messages are in the account and are part of the daily copy we make, but a mailbox nobody has copied out is a mailbox with a single copy. To…
-
Which hosting plan for a school or training centre: site, e-mail and online lessons
It depends on what the school will put online. A site with information, enrolment and e-mail for the teachers fits an ordinary shared plan. A learning platform, where students log…
-
Password protecting a folder with Directory Privacy
To make sure only people with a username and password can open a folder of the site (a private area, a test site, a folder of files for a customer),…
-
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…
-
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…
-
Database indexes in phpMyAdmin: the types, the column order, and how to add one
An index is a sorted list of one column (or several) that the database consults instead of reading the whole table. To find a customer by e-mail, with no index…
-
Testing a migrated site before you change the DNS (the hosts file)
To see the new site before the DNS changes, add one line to your computer’s hosts file saying “this domain lives at this IP address”. Only your computer goes to…
-
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…
-
Handing a website over to a client or another company: what to move and what to change
Handing over a site is four different things, and each has its own owner: the domain, the hosting account, the content, and the third-party accounts (analytics, e-mail, payments). The usual…





