My Profile Photo

Personal Webpage of David Duggins


Well, I was born on a normal day in July, 1981 and have been creating chaos ever since. Born in North Carolina, but raised in the aftermath of the Soviet Union, Kazakhstan, I have been messing around with computers nearly my entire life. I wrote my first program in assembly when I was 11. In my early teens I ran a BBS connected to Fidonet and started building a website for my band. In 1999 I was introduced to Linux, and it was love at first compile. I started my career in IT in the early 2000's doing IT for a Car Dealership in Charlotte NC. I wrote my first major web app in Cold Fusion (an ecom app) at that time. In 2006 I left Charlotte and moved down to Columbia where starting working as a developer, freelancer and consultant. Currently I am working as a freelance developer and DevOps consultant!!


And we're back.....adventures in banging your head against the desk..err...I mean php

\n Okay, I’m back! After nearly a month out of the workforce, I am currently back at the old grindstone. I am working on a contract with The State Media Company. It’s great to be back at coding again professionally! Anyway, I got two tid bits to share with all. The first involves sessions and the second headers. The app that I am developing (can’t get too much into it right now but I’ll re-work some of the code for here laters) uses a lot of session work. You MUST load the session before you do ANYTHING else. Don’t do it, it won’t work! About headers……this is some cool stuff. I use the code:

header("refresh: $sec, $url);

to reload a page after the form is validated. Here is the catch: any program output and the header will not load.

echo("Form didn't Validate");
header("refresh: $sec, $url);

This code above will result in epic fail.

Another thing that I learned: I really needed to be using Netbeans for this. My code was working yesterday, today not. I had made changes to the code and had I been able to use internal versioning of Netbeans, I wouldn’t have banged (too much) against the desk!

© 2024 David Duggins. All rights reserved.