Smart Code Snippets

Efficient algorithms and solutions for common programming needs.

Wednesday, May 21, 2008

Using PHP MySQL to upload images

›
In my experience with PHP and MySQL, being a bit of a purist, I have tried to use MySQL to store pictures for a website. This, I discovered,...
Friday, May 9, 2008

MySQL - find only words in a field

›
This snippet here is pure gold! When making a keyword search, I searched high and low for a method to use MySQL to find an individual word. ...
Wednesday, April 23, 2008

C language: Process Control Block Queue

›
This is a basic program that consists of a Process Control Block (PCB), and a Queue (which is a vector). I won't display the whole progr...
Tuesday, April 15, 2008

C++: Using pointers

›
This is a very basic use of C++ pointers, but it is really essential to know how pointers work.
Thursday, April 10, 2008

C++: Find 1st non-repeating character

›
Here is a function that I enjoyed solving. You have to write a function that takes a string input and finds the first non-repeating characte...
Saturday, April 5, 2008

CORRECTION php: Cleaning user input text

›
After reviewing my last post, I came to the conclusion that code should not be bunched together as I did. Sure, it may make the code look sh...
Thursday, April 3, 2008

php: Cleaning user input text (some text manipulation)

›
There are many times you will want to ask a user for text input. One of the more common usages is in a search. And usually you will take the...
Home
View web version

About Me

Phillip McCubbin
The reason I created this blog is to share my interest of finding better and more efficient programming techniques. As I study more, I hope to share some really nice coding techniques. I happily welcome your comments and criticism. ------------------------------------------------ I am currently an undergraduate student living in San Diego county California. I am about to graduate from Cal State San Marcos (May 2008), with a Computer Science degree in CIS. I enjoy working with databases, and I am always looking for new ways to make programming easier. My career goal is to become a Systems Analyst.
View my complete profile
Powered by Blogger.