Archive for the ‘PHP’ Category
Monday, July 7th, 2008
So I'm trying to debug my PHP script and the error stays the same no matter what I add to the end. Hmm...let me check the PHP manual for trigger_error.
It turns out that trigger_error automatically truncates messages to 1024 characters. That's not very helpful!
Source: PHP Manual - trigger_error()
Related ...
Posted in Annoying, Depressing, PHP, Programming, Ridiculous | No Comments »
Tuesday, June 3rd, 2008
Web services are the coolest technology I know of that ends up turning everyone off. I don’t know about you, but when I go to a lecture on Web services, invariably tons of acronyms come out, like Representational State Transfer (REST), Extensible Markup Language (XML), Remote Procedure Call (RPC), SOAP, ...
Posted in Humor, PHP, Programming, Quotes, Software, Web Development | No Comments »
Tuesday, January 15th, 2008
When I started jeremyglover.com in 2005 I used MediaTemple. *GAG*. They are overpriced and have horrible quotas for both bandwidth and storage. I searched for a host and found BlueHost. Woo hooo!
All you have to do is take a look at the stats on the right ...
Posted in Amazing, Deals, Hosting, IT, PHP, Programming, Reviews, Software, Technology, Web Development | 3 Comments »
Sunday, December 30th, 2007
Old Hard Drive + Remove All Permissions + Try to Access Drive = Permission Denied
Hmm...that's a problem.
My uncle had an old hard drive in his computer with NTFS permissions that had been used as his primary hard drive with Windows XP on it at some point. Now it's a ...
Posted in IT, PHP, Programming, Security, Software, Technology | No Comments »
Wednesday, December 5th, 2007
I wrote a nifty little custom error handler for a PHP project I am working on and noticed I was getting more errors than I was before. Hmm...what was wrong? Apparently if you use a custom error handler in PHP you must explicitly check to see whether the ...
Posted in Annoying, PHP, Ridiculous, Software, Technology, Web Development | No Comments »
Thursday, October 18th, 2007
Behold my first experience parsing XML with JavaScript and consuming a web service.
http://jeremyglover.com/apps/AJAX1007/day_2_homework_consumer.php
Related posts:My First Experience with JavaScript ObjectsDD-WRT’s Quality of Service Works Really WellAnnouncing Recursive Command 0.2
Posted in JavaScript, PHP, Software, Technology, Web Development | No Comments »
Monday, October 15th, 2007
This week I had the opportunity to play with JavaScript for my Building Rich Applications with PHP 5 and AJAX class. Our homework was to create Tic Tac Toe using JavaScript. As a bonus we were to implement the game using JavaScript objects (very handy) and have the ...
Posted in Entertainment, Gaming, JavaScript, PHP, Software, Technology, Web Development | No Comments »
Monday, August 13th, 2007
The default values limit all text retrieved from text and image fields to 4096 characters (bytes). The workaround for this is as follows.
ini_set("mssql.textsize", 536870912);
ini_set("mssql.textlimit", 536870912);
mssql_connect(...);
mssql_select_db(...);
mssql_query("SET TEXTSIZE 536870912");
Please note that you must call the ini_sets before you connect to the database.
Related posts:Connecting to Microsoft SQL Server with PHPInstall SSH Server ...
Posted in PHP, SQL, Technology, Web Development | No Comments »
Thursday, August 9th, 2007
I decided to be secure and came up with a 33 character password for a MS SQL Server account. After writing a settings file for my new PHP blog application and a DB class I tried to connect. No go. The permissions were checked and everything looked ...
Posted in PHP, SQL, Technology, Web Development | 7 Comments »