Intermediate

How to Schedule a Script to Execute With Cpanel

Scheduling a script to run with cpanel is fairly simple. The hardest part is getting the command syntax correct. To schedule a script on Linux based hosting (as opposed to Windows based hosting), we use what’s called a ‘cron job’. According to Wikipedia, ‘cron’ comes from the Greek word for time – chronos. Scheduling a …

How to Schedule a Script to Execute With Cpanel Read More »

Using PHP's parse_url Function

This is a PHP function that I wish I had known about earlier, so I thought it was worth a mention for today’s Daily Web Tip. parse_url is a function that breaks a url down into it’s parts. <?php print_r(parse_url(‘https://cindycullen.com/example/test.php?id=255#faq1’)) ?> Will give you: Array ( [scheme] => http [host] => cindycullen.com [path] => /example/test.php …

Using PHP's parse_url Function Read More »

Scroll to Top