Software Development Process Comparison Report

Software Development Process Comparison Report

The goal of programmers and software development companies has changed slightly over the last few decades.  The mentality of “if you build it, they will use it” does not apply to most cases anymore.  Programmers can not just sit down, write a program, then expect the users to adapt to however they designed the program. This heightened sense of quality brings the question of how the software is developed into play.  The end product needs...

Read More

Finding out your local IP in VB .net under IIS 7

If you’re looking for your IP address of your website chances are you know if, but in case you don’t, there are 2 ways to find it. There are also 2 different IP addresses you might be looking for. There’s a local IP address, then the IP address that the outside world sees and can access your web server on. Here’s a VB .net code section to find your internal IP address, IE, your local IP address of the website on the...

Read More

Dates & Datetimes when reading from MSSQL in PHP

Dates & Datetimes when reading from MSSQL in PHP

So it gets me every time I try to deal with dates in a query result when I’m getting rows from a MSSQL database in PHP. Normally I work with MySQL when I’m programming in PHP, but I have a hybrid application where .Net is used on the front end, and I do a bunch of back end things using PHP scripts. So here’s the issue. MSSQL doesn’t store things the same way MySQL does. MySQL seems to treat everything like a string. ...

Read More

Creating a string array in VB .Net

Just a quick post today. How to make a string array in VB .net PHP style. Now I know you can’t do associaitive arrays in .Net, but you can declare a string array without giving it a number and then declaring each index. Dim strArray() as String = New String() {“Apples”, “Oranges”}

Read More

“The program can’t start because php5ts.dll is missing from your computer” Error

I was trying to execute a PHP file via the command line on a windows machine and got the following error “the program can’t start because php5ts.dll is missing from your computer” Now executing PHP via the command line in Windows is different enough from Linux, I didn’t know what it needed. In Linux I would have install php-cli which should have come with all the dependancies. In Windows however, I fixed the issue by...

Read More

Removing extra spaces from within quotes of a string in PHP

Every once in a while, you may be building strings that include quoted material. The issue is that if you’re doing it programmatically, you may be doing something that quotes different parts of the string. The issue is, that if the field you’re pulling from doesn’t exist, you may leave yourself with extra spaces in your strings. See the example below. Table: A Columns: color,number,price,shape Row1: red,4,3.25,square Row2:...

Read More