PHP characters that need to be escaped
In writing PHP code, several characters need to be “escaped” for the code to run properly. If not, the browser will be blank or show errors. The following characters have …
Read MoreMacintosh OS X Tech News & Tips
In writing PHP code, several characters need to be “escaped” for the code to run properly. If not, the browser will be blank or show errors. The following characters have …
Read MoreRuby on Rails started the framework race, so we’ve been trying several of them. Since we are PHP developers, we tried CakePHP. We liked it, but its configuration is complicated. …
Read MoreHere are a list of web development cheat sheets we have found: CSS cheat sheet: http://www.addedbytes.com/cheat-sheets/download/css-cheat-sheet-v2.png Regular Expression cheat sheet: http://www.addedbytes.com/cheat-sheets/download/regular-expressions-cheat-sheet-v2.png PHP cheat sheet: http://www.addedbytes.com/cheat-sheets/download/php-cheat-sheet-v2.png MySQL cheat sheet: http://www.addedbytes.com/cheat-sheets/download/mysql-cheat-sheet-v1.png HTML …
Read MoreHere’s a php code snippet to force the page to https instead of http. You can use a self-signed SSL certificate on your OS X testing server. // force redirect …
Read More“Unfortunately the Mac OS Leopard PHP build doesn’t bring GD library installed. There are many tutorials around the web telling how to patch the system so you can have it …
Read MoreThis is a PHP module for the Apache web server included in Mac OS X. PHP is a server-side, cross-platform, HTML embedded scripting language. 1. Download the PHP package here: …
Read MoreCreate a new text document in your Sites folder named info.php. Enter this into the doc: [sourcecode language=’php’] [/sourcecode] Test it at http://127.0.0.1/~yourusername/info.php
Read More