PHP: Quick and dirty CLI tasks
A lightweight PHP pattern for organizing vanilla PHP or WordPress command-line tasks as static class methods dispatched through $argv.
Read the postPosts tagged php-code from Setfive.
11 posts
A lightweight PHP pattern for organizing vanilla PHP or WordPress command-line tasks as static class methods dispatched through $argv.
Read the postHow to create a Drupal 7 Drush command that batch-loads nodes, populates custom content-type fields, and submits node forms programmatically.
Read the postHow to fix PHP cURL’s “Received problem 2 in the chunky parser” error by forcing requests to use HTTP/1.0.
Read the postWhy Google Calendar iframe embeds omit API-created zero-duration events, and how assigning them a one-minute duration fixes their display.
Read the postA Symfony PHP example of using OpenSSL to sign and encrypt user authentication data for transparent single sign-on between LDAP and partner systems.
Read the post