Fawzma
Games and ThingsPHP Ecryption software release
Posted on January 22, 2009Encrypt, optimize and obfusate your PHP. Newest release now includes a customer popup maker.
Looping Through Controls In C++ .NET
Posted on October 03, 2008I ran into a situation where I needed to loop through all TextBox controls in a c++ .net application. I was able to figure out a cheesy way to do it, but it would only get me the controls at the top level. I needed something better, something that would go into all the tab controls, and group boxes and get all those TextBoxes I needed.
Visual c++ Express .net base64 Functions
Posted on October 01, 2008This problem is two fold. First it solves the problem of converting a string to and from base64, and it shows how to create a function that is not part of the objects in the application. By that, I mean, a function that isn’t created for you by Express when you click on an object in the visual editor.
I only mention this because I ran into a situation where I couldn’t figure out how to make a function in c++ .net. It have everything to do with the fact that all variables require a ^. They are even included when defining the return type of a function.
Read the rest of this entry »
Stop Hotlinking to Certain Images
Posted on January 10, 2008While working on another site, I ran into an issue I needed to head off before I went live. I needed a way to stop people from hotlinking to certain files, while letting other images get hotlinked. My main goal was to allow people to hotlink to thumbnail images, but not the original image.
Pass a php variable from a WordPress post to a WordPress script
Posted on November 28, 2007Here’s a little trick to pass a php variable from a WordPress post to you php scripts on your server
How to modify h2 in wp_list_bookmarks() with css
Posted on November 22, 2007While working on some other site, I came to a situation where I needed to apply css to an H2 heading for those bookmarks on the sidebar in a wordpress site. In fact, I need to get this place fixed now, now that I’ve figured this one out..
Calculate the center of a triangle
Posted on November 06, 2007Here’s a simply guide on how to get the center of a triangle. It’s quick and to the point, minus all the math behind it.
There are many ways to calculate the center of a triangle, some have better results than others. The one I prefer is called the incenter
You have 3 points to a triangle, points A B and C. Each one has an x and y value. Simply take each of those values and add them up and divide by three.
x = (Ax + Bx + Cx) / 3
y = (Ay + By + Cy) / 3
