Is there a way to check if an Expando object contains a property before interacting with it. For example, If i were to say var test = Expando.Something and Something didn't exist, it will throw an exception. How do i check to see if "Something"…
I just found one of these images and I have never heard of it before. What is it and what is the difference between a JPG-LARGE and a standard JPG image.
When creating a post using TinyMCE, the output contains the HTML doctype along with other HTML tags that I do not want. I only want the output to contain the content of the post that will be stored in the database and used on other…
XML Serialization in C# works fairly well and is relatively easy, but XML itself makes life hard at times. JSON is always the best route to go, but when you have no option, you must deal with some badly formatted XML objects that do not…
I was recently setting up PHP 5.6 on IIS 8.5 and hit an error. C:Program Files (x86)\PHP\v5.6\php-cgi.exe - The FastCGI process exited unexpectedly I had been following a guide and this one didn't make much sense. After trying to endlessly debug this I found out…
When it comes to handling datetime on SQL server it can get quite error prone when you are dealing with different regions and end up getting an out or range date exception if you are trying to add a date that is in EU date…
There are a few ways to make a http request in PHP. The most robust way to do it is with curl and based on how complex the query is, maybe your only option. If you are just making a basic enough request, the amazingly…
When pulling comments from a database table, it can be very costly when you are performing a query that will automatically sort all of the comments into the parent-child hierarchy. Every extra ms your SQL server spends performing calculations is time that is wasted. If…
Sometimes you get hit with a load capacity issue that you may have not expected. For example, you have created a site with multiple scripts and these scripts are now being accessed so much that the one server isn't able to cope with all of…
Often it can be quite hard to debug SQL errors when using PHP since PHP will often throw a generic error that doesn't really help you diagnose the situation. Other times you may not want to allow PHP errors to be shown. A quick way…