Brian Swan

Insights on HDInsight
Posts
  • Brian Swan

    What's the Right Way to Prevent SQL Injection in PHP Scripts?

    • 21 Comments
    How to prevent SQL injection in PHP scripts is probably a topic that doesn’t need anything more written about it. It is pretty easy to find blog posts, documentation, videos, etc. that explain the importance of preventing SQL injection and suggestions...
  • Brian Swan

    MSSQL vs. SQLSRV: What’s the Difference? (Part 2)

    • 18 Comments
    In my last post , I promised a comparison of the APIs for the MSSQL and SQLSRV extensions of PHP, so here it is. I constructed the table below assuming some familiarity with the MSSQL extension. I’m aiming to provide a high-level comparison that...
  • Brian Swan

    mssql vs. sqlsrv: What’s the Difference? (Part 1)

    • 14 Comments
    [Part 2 of this post is here .] The SQL Server Driver for PHP (also called the " sqlsrv " driver for it’s API prefix) has been available since July of 2008, but I still often see the "old" driver (the " mssql " driver) used to connect to SQL Server...
  • Brian Swan

    Best PHP Projects on Codeplex?

    • 5 Comments
    I started this blog a few weeks ago knowing I had a lot to learn about PHP and about using PHP with Microsoft technologies. That thought was reinforced after I spent some time yesterday looking at the all the PHP-related projects on CodePlex . (CodePlex...
  • Brian Swan

    Store Images in the Database or File System?

    • 4 Comments
    I intended for this post to be about how to use the SQL Server Driver for PHP to get images in an out of SQL Server Express , but the truth is that it’s fairly easy…so easy that I eventually thought it wasn’t a very interesting topic. (Besides, this topic...
  • Brian Swan

    Retrieving Data with the OData SDK for PHP

    • 3 Comments
    [Upadting this post to incorporate some fixes in the OData SDK for PHP. Also adding this link to a related post: CRUD Operations with the OData SDK for PHP .] Availability of the OData SDK for PHP was announced at MIX10 earlier this week . Actually...
  • Brian Swan

    This Week’s Link List (March 19, 2010)

    • 0 Comments
    I said last week that I wanted to share my favorite links on a weekly basis, and I still do. But I’m changing the title of the weekly post from “This Week’s Greatest Links” (which, I have to admit, wasn’t a great title) to “This Week’s Link List” (which...
  • Brian Swan

    CRUD Operations with the OData SDK for PHP

    • 0 Comments
    Last week I wrote a post about retrieving data from an OData feed by using classes that were generated by the OData SDK for PHP . This week I will go one step farther and look at how to perform CREATE, UPDATE, and DELETE operations (CRUD operations) with...
  • Brian Swan

    This Week’s Greatest Links (Mar 12, 2010)

    • 0 Comments
    I’m jealous that my wife can find the time (I don’t know how she does it) to read so many books just for fun. That isn’t to say that the reading I do isn’t fun, it’s just not the curl-up-on-the-couch-and-get-lost-in-a-story kind of reading I would like...
  • Brian Swan

    Consuming “Dallas” Data with PHP

    • 0 Comments
    Given that MIX10 is happening this week and that Microsoft Codename “Dallas” (CTP2) was just released , I thought it would be appropriate to look at how to consume “Dallas” data with PHP. (If you are at MIX10 and want more information, the “Dallas” session...
  • Brian Swan

    SQL Server Driver for PHP Cheat Sheet

    • 0 Comments
    Several of my recent posts have focused on how to use the SQL Server Driver for PHP in various ways. You might think that I would know the driver API by heart at this point, but alas, my many trips back to the documentation are proof that my brain is...
  • Brian Swan

    This Week’s Link List (March 26, 2010)

    • 0 Comments
    Here’s the links that I found especially interesting this week…lot’s of news around Microsoft and open source projects. 1. Interesting news from the Open Source Business Conference (OSBC) : “82% about 350,000 projects are Windows compatible” - http...
  • Brian Swan

    Streaming Silverlight Video with PHP

    • 0 Comments
    In this post I hope to take a step towards making good on a promise I made a few weeks ago : to dive into some of the PHP-related projects on CodePlex that piqued my interest. In particular, I’d planned on diving into the Embedding Silverlight in PHP...
Page 1 of 1 (13 items)