Blogs
Error message
Deprecated function: Function create_function() is deprecated in GeSHi->_optimize_regexp_list_tokens_to_string() (line 4698 of /home/digipiph/public_html/sites/all/libraries/geshi/geshi.php).
published by d.cochran on Mon, 11/05/2012 - 07:48
The below example shows how to create namespaces with javascript.
published by d.cochran on Thu, 09/20/2012 - 08:04
Inserting into a BLOB is just as easy as inserting into any field.
Here is the example query that we can use to change a "field" to "Insert Value":
UPDATE table SET field = 's:12:"Insert Value"' WHERE id = 'uniqueid';
Here is how we can display info from BLOB into text.
published by d.cochran on Thu, 09/20/2012 - 07:43
published by d.cochran on Thu, 08/30/2012 - 07:49
published by d.cochran on Fri, 08/24/2012 - 17:32
published by d.cochran on Tue, 08/21/2012 - 08:41
Well talk about horrible documentation and poor search results. Whenever I install SSL certificates on our server I always need to hunt down the CA bundle. Yes, I have saved this as a file several times. However, whatever computer I save the Thawte SSL 123 CA bundle on always seems to crash and I always lose the CA bundle! A curse? Maybe...
I will place this hear to save others time in searching (hopefully).
published by d.cochran on Thu, 08/02/2012 - 17:05
cURL is used to send "POST" data from one web page to another behind the scenes.
If cURL is enabled on your server, it is fairly easy to setup. I had trouble finding a page that broke setting up a cURL connection down to its most simplest form by showing a cURL example, so I decided to post a page for it.
Example: cURL setup with PHP
published by d.cochran on Thu, 08/02/2012 - 17:00
Below is a PDO update function that I wrote to save me time from
constantly constructing the PDO update query whenever I need it. Now I
simply pass my values and fields to the function and all is taken care
of.
published by d.cochran on Thu, 08/02/2012 - 16:52
Below is a PDO insert function that I wrote to save me time from
constantly constructing the insert query whenever I need it. Now I
simply pass my values and fields to the function and all is taken care
of.
published by d.cochran on Thu, 08/02/2012 - 16:47
Below is how to set up a PDO connection to a MySQL database.
Pages