Search
Archives
- August 2015 (1)
- September 2014 (1)
- June 2014 (2)
- January 2014 (1)
- September 2012 (1)
- July 2012 (1)
- April 2012 (1)
- January 2012 (2)
- June 2011 (2)
- November 2010 (1)
- October 2010 (1)
- May 2010 (2)
- April 2010 (1)
- December 2009 (1)
- November 2009 (1)
- August 2009 (1)
- June 2009 (1)
- April 2009 (1)
- January 2009 (5)
- December 2008 (1)
- November 2008 (1)
- August 2008 (3)
- July 2008 (3)
- June 2008 (1)
- February 2008 (2)
- January 2008 (1)
- November 2007 (2)
- September 2007 (1)
- July 2007 (1)
- May 2007 (2)
Categories
Meta
Category Archive: Programming
Subcategories: Bash C# Javascript Php
PHP Soap Server, Part 1: Introduction to WSDL
In this multi-part blog im going to talk through how to set up a php soap (Simple Object Access Protocol) server that can be added as a web-reference through visual studio. Im mainly doing this because it took me along time to figure out the finer details of wsdl and soap, and i’d like to try and save other people the same hassle.
The example soap service that i will build for demonstration purposes will be a simple schedule service, that can be queried to find out what meeting is next and todays meeting schedule.
All the code/wsdl/xml is available here
And the demo client and server
C# Console Framework
This is a small side project that i did in my first year of university, I’ve since updated it as it was a bit hacky and built for .net v1 (now v2).
It can :
- Read text, integer and float values from the console, while validating them within the given limits
- Show simple menus
- Show Titles (see below)
And all with a cool border/scrolling effect! (more…)
Converting text files into a navigable collection with php
Say you have a collection of text files that you want to be accessible over the internet, but dont want to convert each one, add navigation etc…
This is where txt2dir comes in, this is a small php script I made that can take that collection of text files and convert them to html on demand including navigation and an index! (more…)
Programming and Debugging C on Linux
This “how-to” covers programming and debugging on linux without the use of an IDE and mainly using the console.
Writing programs on Linux can seem daunting at first, especially if your just using a simple editor like nano and manually compiling files (like how i started off doing).
But there are many things that can help and make things far more productive. (more…)
PHP and SQL injection
Ok, being someone who likes php, i get annoyed at the many sites trying to teach people the language who have example login scripts that use something like:
$result=mysql_query("select * from users where Username=$username and Password=$password"); if (mysql_num_rows($result) < 1) blah blah blah
Whats wrong with that you ask? Well imagine what would happen if someone were to use the username '' or 1=1 #
(more…)
Blueprint
Blueprint is a php web application I made for the online game Eve-Online, a while back i was building and selling ships and i wanted to know how much materials would cost and to be able to find out what my profit was going to be, and this was the result. (more…)