PHP

how do you remember regex

cheater tool   cheat sheet

Read More...

PHP Pagination Class

Out looking for a PHP pagination class… I’ll report back. http://www.catchmyfame.com/2007/07/28/finally-the-simple-pagination-class/ http://articles.sitepoint.com/article/perfect-php-pagination http://tanax.awardspace.com/?p=5 http://mis-algoritmos.com/digg-style-pagination-class the one i’m using from nettuts:   http://net.tutsplus.com/tutorials/php/how-to-paginate-data-with-php/ very EASY to integrate and i love the OOP! i have it implemented here:    here’s my CSS for the pagination class   .paginate { margin-top: 10px; font-size: 11px; }   a.paginate…

Read More...

PHP $_REQUEST does both $_POST and $_GET

  Apparently there’s a PHP command $_REQUEST that will get the value from a Form _POST or from a link _GET PHP provides you “super-global” variables. These include $_GET, $_POST, $_COOKIE, $_SESSION, $_SERVER, $_ENV, $_FILES and $_REQUEST. Most of these are fairly self-explainatory. $_GET are the variables passed by forms with a GET method or…

Read More...

php pagination

excellent, easy php pagination source… http://papermashup.com/easy-php-pagination/ reusable pagination class: http://www.catchmyfame.com/2007/07/28/finally-the-simple-pagination-class/#comments

Read More...

wordpress how to change domain name

how do you change the domain name on your wordpress site after you’ve already installed it. how do you move your wordpress domain to a new name. inside of wp-config.php add the following lines. define(‘WP_HOME’,’http://yourdomain.com’); define(‘WP_SITEURL’,’http://yourdomain.com’);

Read More...

jquery.rocks() – estimated earnings calculator for HousingConnectors.com

o.k., i’m so thankful for / to the developers of jquery. they’ve made web development fun. just hooked up this little diddy in a couple hours using jquery slider…  http://housingconnectors.com/estimated_earnings.php

Read More...

swfupload file size error 500 problem

recently i’ve been having problems with my file uploads not working on large files. even after i told the php.ini file to allow 2000m files and verified this was the case in my php info(); found i could override the apache / php settings within the domains .htaccess file. here’s what i’m using php_value memory_limit…

Read More...

php codes, wordpress themes, etc…

http://codecanyon.net/ PHP, ASP.NET, Java and Javascript from CodeCanyon http://themeforest.net Website Templates and WordPress Themes from ThemeForest

Read More...

twitter php feed grabbers

some helpful resources i’ve found… i’ll update which one i’m using and how. http://apiwiki.twitter.com/Libraries#PHP http://papermashup.com/using-the-twitter-search-api/ http://www.reynoldsftw.com/2009/02/using-jquery-php-ajax-with-the-twitter-api/ http://ryanfaerman.com/twittersearch/ http://woork.blogspot.com/2009/06/simple-php-twitter-search-ready-to-use.html http://www.the-art-of-web.com/php/twitter/?nohilite http://woork.blogspot.com/2009/07/twitter-api-how-to-create-stream-of.html twitter rss api http://apiwiki.twitter.com/Libraries#PHP http://papermashup.com/using-the-twitter-search-api/ http://www.reynoldsftw.com/2009/02/using-jquery-php-ajax-with-the-twitter-api/ http://ryanfaerman.com/twittersearch/ http://woork.blogspot.com/2009/06/simple-php-twitter-search-ready-to-use.html http://www.the-art-of-web.com/php/twitter/?nohilite http://woork.blogspot.com/2009/07/twitter-api-how-to-create-stream-of.html

Read More...

MySQL delete all rows from table truncate

i’m tired of using PHPMyAdmin so now i’m using MySQL Query Browser and MySQL Administrator. in your MySQL query browser terminal… truncate table “table_name” voila.. empties all table data. same as PHPMyAdmin “empty”

Read More...

PHP RSS Feed Aggregator / Reader

oh me oh my simplepie! i’m really happy to be using it… i’m in the process of making feedsprocket. online feed aggregrator and keyword finder… stay tooned.

Read More...

PHP preg_match tutorial… best example

http://weblogtoolscollection.com/regex/regex.php?page=3 Basic Syntax of Regular Expressions (as from PHPBuilder.com) First of all, let’s take a look at two special symbols: ‘^’ and ‘ . What they do is indicate the start and the end of a string, respectively, like this: “^The”: matches any string that starts with “The”; “of despair$”: matches a string that ends…

Read More...

simple machines forum / site integration

finally integrated SMF with http://flightcrewcentral.com SMF remove logout in selected theme smf/Sources/Subs.php line 3982 comment out /* ‘logout’ => array( ‘title’ => $txt[‘logout’], ‘href’ => $scripturl . ‘?action=logout;%1$s=%2$s’, ‘show’ => !$user_info[‘is_guest’], ‘sub_buttons’ => array( ), ‘is_last’ => !$context[‘right_to_left’], ), */ theme… index.template.php is the one you’ll want to edit. header function: function template_html_above() $includeHeader=’../includes/header_forum.php’; $includeFooter=’../includes/footer_forum.php’;…

Read More...

plesk 9 php.ini location

/etc/php5/apache2/php.ini so it’s here… remember this james!

Read More...

jquery sortable data php mysql

great sample here: I’ve had a lot of response to the jQuery sortable list post I wrote a while back, and a lot of them ask how to send the results to a database. I’ve often said the best thing to do would be to update it by AJAX, but I’ve never really explained how….

Read More...