This is the companion website to books and other resources created by David Powers, an acknowledged expert on PHP, HTML, CSS, and other aspects of web development. The name Foundation PHP comes from the titles of two of my earliest and most successful books, but I have also written extensively on Dreamweaver—both in the context of PHP and in more general terms.
Avoiding email header injection
Barely a week goes by without someone asking for help with a PHP mail() script that uses one of the most insecure techniques—inserting unfiltered user input into the headers argument. It exposes your server to email header injection, an exploit … Continue reading
IE 10 fails to display styles locally
I’ve just spent the last couple of hours battling with Internet Explorer 10 failing to render styles when viewing a web page on my local computer. The problem was with a static HTML page loaded directly from the local file … Continue reading
Linking to specific panel or tab in jQuery UI widgets
Dreamweaver CC has replaced its Spry widgets, such as accordion and tabbed panels, with jQuery UI equivalents. This means that one of my most requested tutorials on linking to a specific panel or tab needed to be rewritten for jQuery … Continue reading