- PHP script to log in to Drupal and save web page using cURL - The following the PHP script will log in to Drupal 6 and save a web page using cURL. It can be run from the command line (provided PHP is at /user/bin/php) via e.g. a cron job. #!/usr/bin/php <?php /** * Log in to Drupal 6 as USERNAME:PASSWORD and ...

