Are you taking full advantage of your web hosting? Here is a list of tips that will help you make the most of it.
PHP CRON job - how to make a "cron job" using a php file. Checks age of backup file every time home page is loaded. - difficulty setting up a cron job from a php file due to permissions.
PHP echo shortcut Instead of this can be used
Notice there can be limitations using this shortcut as this needs to be enabled in the php.ini. This is however usually the case.
PHP script that automatically removes non-activated users from database - script used on PCP
- php scripts made for PCP - how to insert them in CRON
WHM tricks - look out for use of nodes (e.g. spam mail generated)
MySQL database tricks:
How to dump multiple databases - example using above backup script
How to fully restore a site every week/day - first: generate .sql backup - first: generate .gz backup of files - later: restore database - later: extract files and overwrite old ones
Are you taking full advantage of your web hosting? Here is a list of tips that will help you make the most of it.
PHP CRON job - how to make a "cron job" using a php file. Checks age of backup file every time home page is loaded. - difficulty setting up a cron job from a php file due to permissions.
PHP echo shortcut Instead of this can be used
Notice there can be limitations using this shortcut as this needs to be enabled in the php.ini. This is however usually the case.
PHP script that automatically removes non-activated users from database - script used on PCP
- php scripts made for PCP - how to insert them in CRON
WHM tricks - look out for use of nodes (e.g. spam mail generated)
MySQL database tricks:
How to dump multiple databases - example using above backup script
How to fully restore a site every week/day - first: generate .sql backup - first: generate .gz backup of files - later: restore database - later: extract files and overwrite old ones