PHP

Rasmus Lerdorf – Inventor of PHP

Rasmus Lerdorf Rasmus Lerdorf (born 22 November 1968) is a Danish–Greenlandic programmer and the author of the first version of the PHP web programming language. I did not develop the PHP we know today. Dozens, if not hundreds of people, developed PHP. I was simply the first developer. sitepoint.com I actually hate programming, but I…

Read More...

How to Implement Natural Sorting in MySQL – Sky Blue Sofa Blog

How to Implement Natural Sorting in MySQLPosted by Dave Rogers // December 20, 2013 // in Blog // 0 CommentsIn the programming world, Natural Sorting is taking a list of things and sorting them, well, the way a human naturally would. Take this list, sorted in natural order, for example:col_name————— test1test2test3test4test5test6test7test8test9test10test11test12MySQL sorting doesn’t work, naturallyIn PHP,…

Read More...

PHP Weather Forecast Code Widget That’s Simple and Really Easy To Use

I’ve been looking for a really simple and easy to use code widget for months now. Finally some good starting code on github written by Josh Hartman. This PHP example uses Yahoo’s Weather XML feed. Thank you Yahoo! I simplified Josh’s PHP code a bit for you to use. Here’s a Sample for area code 45224(Cincinnati)…

Read More...

Facebook Introduces ‘Hack,’ the Programming Language of the Future | Wired Enterprise | Wired.com

Facebook engineers Bryan O’Sullivan, Julien Verlaguet, and Alok Menghrajani spent the last few years building a programming language unlike any other. Working alongside a handful of others inside the social networking giant, they fashioned a language that lets programmers build complex websites and other software at great speed while still ensuring that their software code…

Read More...

PHP Chart Library with Javascript That Look Great

HighchartsPHP is AWESOME HighchartsPHP is a PHP library that works has a wrapper for the Highchart js library and it was built having in mind flexibility and maintainability. It isn’t a simple port of the JavaScript library to PHP, it was designed in a way that mimics the JavaScript counterpart API, so that the developer…

Read More...

Reading Mail Messages – Zend_Mail – Zend Framework

Zend_Mail can read mail messages from several local or remote mail storages. All of them have the same basic API to count and fetch messages and some of them implement additional interfaces for not so common features. For a feature overview of the implemented storages, see the following table. Reading Mail Messages – Zend_Mail – Zend Framework.

Read More...

WordPress Query Exclude Featured Image – Don’t display featured image

<?php $thumb_ID = get_post_thumbnail_id( $post->ID ); if ( $images = get_children(array( ‘post_parent’ => get_the_ID(), ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘image’, ‘exclude’ => $thumb_ID, ))) : ?> <ul> <?php foreach( $images as $image ) : ?> <li><?php echo wp_get_attachment_link($image->ID, ‘thumbnail-latest’); ?></li> <?php endforeach; ?> </ul> <?php else: // No images ?> <!– This post has no…

Read More...

Easy Text Message API | Clockwork SMS API

Easy Text Message API | Clockwork SMS API.

Read More...

find PHP sending spam on your server logging smtp emails sent through PHP sendmail Ubuntu

Is your webserver under attack and you think it’s being generated by a domain sending SPAM using PHP? Here’s a solution to log all of the PHP mail() traffic and view it in your browser. Create a file called “phpsendmail” – I put mine into /usr/sbin/phpsendmail Here’s the code. Make sure your server has “sendmail”…

Read More...

Composer – PHP dependent library manager

Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you. Composer.

Read More...

Bits of Brilliance: Session Five | projectMONA

The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!) via Bits of Brilliance: Session Five | projectMONA.

Read More...

Writing the PHP Code to Process Payments with Stripe | Larry Ullman

ard thanks to the Stripe PHP library, which you first have to install: via Writing the PHP Code to Process Payments with Stripe | Larry Ullman.

Read More...

CMS using CodeIgniter Framework

In an attempt to find a place between rolling our own CMS and using wordpress, we’re looking for a simple and easy to use CMS system. I’ve been happy developing in CodeIgniter for our new http://JoinARace.com project. The development is quite fast after you wrap your head around the structure of CodeIgniters MVC framework. Much easier…

Read More...

CJAX | Free Development software downloads at SourceForge.net

CJAX | Free Development software downloads at SourceForge.net. Description Cjax is a very basic lightweight but powerful cross browser Ajax Framework written in PHP and JavaScript. For official Code Contributions (and docs contribution) you may Folk the source code from: https://github.com/ajaxboy/cjax For documentation: http://cjax.sourceforge.net/docs/ For Demos: http://cjax.sourceforge.net/examples/ Key Points Of the Ajax Framework

Read More...

Flourish, PHP Unframework

Flourish provides a strong, base set of PHP classes that run pretty much anywhere, helping you focus on solving more interesting problems. Extensive documentation and a sane API help you get stuff done, whether you are building a new app or maintaining a legacy website. Why Use Flourish? You will find Flourish useful if you…

Read More...

Coda PHP & Web Toolkit // chipwreck

great plugin for coda… clean and checks PHP and HTML Coda PHP & Web Toolkit // chipwreck.    

Read More...

PHP out of memory errors – Fatal error: Allowed memory size of XXX bytes exhausted

Check your PHP settings with an info.php file. Throw this in your domain <?php // Show all information, defaults to INFO_ALL phpinfo(); // Show just the module information. // phpinfo(8) yields identical results. phpinfo(INFO_MODULES); ?>   If you control the server, edit the php.ini file defined in your phpinf(); – I’ll use nano to edit…

Read More...

PHP Session Not Working $_SESSION being reset

My dumb ass was trouble shooting my PHP Session for at least an hour. The session was being reset everytime I would re-load the page or go to another page. I couldn’t store any session variables. <!doctype html> <? session_start(); // Turn on all error reporting error_reporting(0); echo “session_id: ” . session_id(); if (empty($_SESSION[‘count’])) {…

Read More...

PHP server side geocoding with Google Maps API v3 | ErlyCoder

Right now that is php class that implements server-side strategy of geocoding as a wrapper for the http requests to Google Maps service. So here is the wrapper class: via PHP server side geocoding with Google Maps API v3 | ErlyCoder.

Read More...

SQL Buddy – Web based MySQL administration

SQL Buddy – Web based MySQL administration. SQL Buddy is my favorite web-based tool for accessing and managing MySQL databases. PHPMyAdmin alternative – SQL Buddy Rocks!  

Read More...