Archive for the ‘PHP’ Category

JavaScript Web Service Consumer

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 No related posts.

My First Experience with JavaScript Objects

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

Retrieving Text Data from SQL Server 2000 Using PHP

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. No related posts.

Connecting to Microsoft SQL Server with PHP

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