Php Articles
Convert tweet hashtags, at-tags and urls to links with PHP and Regular Expressions
A PHP tutorial on using regular expressions to convert hashtags, mentions, and URLs in tweets into clickable HTML links.
Markedstyle: Managing Styles for Marked With Laravel
The author built Markedstyle, a web app using Laravel to manage and share custom CSS styles for the Marked Markdown previewer.
The magic of grunt-contrib-connect, and how to run PHP with it
Explains how to use grunt-contrib-connect to run a local server with PHP support and livereload for front-end development.
Trialling laravel PHP
A developer's initial experience and setup guide for the Laravel PHP framework, including installation, configuration, and first impressions.
Drupal 8 module development #3 – adding a settings page – revision
A technical tutorial on creating a settings page for a Drupal 8 module, focusing on configuration forms and the Global Redirect module.
Drupal 8 module development #3 – adding a settings page
A tutorial on creating a configuration settings page for a Drupal 8 module, covering form class structure and Drupal's configuration system.
Processing Content Security Policy violation reports
Explains how to process Content Security Policy violation reports with a practical PHP script example.
Even shorter ternary operators in PHP using ?:
Explains how to use PHP's short ternary operator (?:) for more concise code, replacing repetitive variable checks.
Falling in love with PHP--again
A developer rediscovers his passion for PHP after discovering the Laravel framework, which overcomes the language's traditional shortcomings.
Enabling PHP 5.5 on Windows Azure Web Sites using a remote shell and KuduExec
A guide to manually enable PHP 5.5 on Windows Azure Web Sites using remote shell access and the KuduExec tool.
Using the AddThis Share Buttons wordpress plugin in a custom theme
A technical guide on using the undocumented `addthis_widget` action to integrate AddThis share buttons into a custom WordPress theme.
Running unit tests when deploying to Windows Azure Web Sites
A guide to integrating unit test execution into the deployment process for applications hosted on Windows Azure Web Sites, using PHP and PHPUnit as an example.
About daloRADIUS - January 2013 update
An overview of daloRADIUS, an advanced open-source RADIUS web management platform for hotspots and ISPs, featuring user management and reporting.
Restricting Drupal’s upload module to N attachments
A technical guide on how to restrict Drupal's upload module to allow only a specific number of file attachments per node.
Gearman – offloading Drupal tasks to a job server
Explains how to use the Gearman job server with Drupal 6 to offload and process background tasks asynchronously.
How to query a database with AJAX and display as a tooltip
A technical tutorial explaining how to use AJAX with jQuery to query a MySQL database and display the results in a tooltip on a webpage.
Tweaking Windows Azure Web Sites
Explains how to configure IIS settings and override parameters in Windows Azure Web Sites to run a PHP WebDAV server.
A Perch XML Sitemap
A technical tutorial on creating a dynamic XML sitemap for the Perch CMS blog extension, covering PHP code and template configuration.
In defense of reinventing wheels
An argument for why developers should sometimes write their own code instead of always using existing libraries, focusing on performance and maintainability.