Quantcast
Channel: PHP – StuffThatSpins.com
Browsing all 31 articles
Browse latest View live

MCrypt PHP5 Ubuntu Install

Ubuntu: PHP mCrypt Installation mCrypt is an encryption program used on Linux systems. To install mCrypt for PHP5 on your Ubuntu Linux system: sudo apt-get install php5-mcrypt Then restart Apache with:...

View Article



JQUERY issues with Google Chrome .ajax() doesn’t load

For the life of me I couldn’t figure out why my JQuery .ajax() call wouldn’t load in Google Chrome. Especially when it worked in Firefox, IE and Safari which I thought is based on the same WebKit...

View Article

php session cache limiter

Warning : session_start() [function.session-start ]: Cannot send session cache limiter – headers already sent (output started at XXXX note to self: somehow my page had a whitespace before the

View Article

PHP format datestamp

convert: 2011-01-05 09:48:49 to: January 05, 2011 09:01AM $datestamp = date(‘F d, Y h:mA’, strtotime($archive_row['archive_datestamp'])) ;

View Article

PHP + Javascript – limit characters in multiple text areas within same form

Javascript  <script language="javascript" type="text/javascript"> //http://www.phpfreaks.com/forums/javascript-help/%28solved%29-javascript-character-limit-with-multiple-textareas/ function...

View Article


Common PHP regex (regular expressions) for web developers

For many beginners, regular expressions seems to be hard to learn and use. In fact, they’re far less hard than you may think. Before we dive deep inside regexp with useful and reusable codes, let’s...

View Article

remove “confirm form resubmission” with Google Chrome

so, do you get the annoying “confirm form resubmission” page when a user hits the back button or refresh using google chrome? simply change your form method from “post” to “get”. if you can put all...

View Article

PHP function to sort multidimensional arrays

nice little function to sort php multidimensional arrays: /////////////////////////////////////// /// SORT MULTIDIMENSIONAL ARRAYS //// /////////////////////////////////////// function...

View Article


Image may be NSFW.
Clik here to view.

Best SVN / CVS client plus project and bug tracking solution

I’ve tried a ton. This is the one package that will keep your code moving forward and deliver your project on time

View Article


PHP and Google TTS (text to speech) solution writes MP3 files. Playback via...

I wrote a simple solution that takes text (var or input) and speaks it using your browsers built in HTML5 audio player. Source code available Demo Here: http://stuffthatspins.com/stuff/php-TTS/

View Article

fuser process using cpu useage 100%+ in ubuntu 11.1x

php5 cronjob fuser designed to clean out php sessions is eating the cpu on ubuntu boxes. This is the content of /etc/cron.d/php5 on 11.10: 09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] &&...

View Article

Image may be NSFW.
Clik here to view.

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!  

View Article

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...

View Article


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....

View Article

Image may be NSFW.
Clik here to view.

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

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...

View Article


Coda PHP & Web Toolkit // chipwreck

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

View Article

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...

View Article


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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

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.

View Article
Browsing all 31 articles
Browse latest View live




Latest Images