Future Web Services
  • Home
  • Services
  • Projects
  • Blog
  • Contact Us
Select Page

How to auto clean tmp dirs using tmpwatch and a cron job

Sep 21, 2018 | SSH | coding, server management, ssh, WHM

We often get support tickets from users worried that WHM is reporting that the tmp directory is either full or getting near to full and don’t know how to prevent this from happening. If you have root access to your server you can use tmpwatch to regularly purge...

PHP Ternary Operator If/Else Shorthand Example

Sep 21, 2018 | Coding, Web Design | coding, php, shortcuts

The PHP ternary operator is a shorthand way of writing an if/else statement. The logic of the Ternary Operator is // basic ternary logic $result = (condition) ? return if true : return if false ; A working example would be something like // working example of ternary...

Categories

  • Coding (2)
  • Hardware Software (1)
  • MySQL (1)
  • SEO (1)
  • Server management (1)
  • SSH (2)
  • Uncategorized (1)
  • Web Design (2)

Tags

coding (2) Database (1) Google (1) Google Nest (1) Google Speakers (1) MariaDB (1) MySQL (1) Nest Audio (1) php (1) Replace (1) server management (1) shortcuts (1) ssh (1) Update (1) WHM (1)

Future Web Services

Web Development in Birmingham