Sam @ Xnet

Archived Posts

PHP Soap Server, Part 2: PHP Server and Client

By Sam, on Tuesday, 8 Jul 2008 at 7:48 p.m.

This is in conclusion to Part 1

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.

Sorry for taking so long to put this out, but better late than never, eh?

All the code/wsdl/xml is available here
And the demo client (Source Code) and server (Source Code)

[Continued...]

New Website (Software)

By Sam, on Thursday, 19 Jun 2008 at 9:39 p.m.

Welcome to the new sam.xnet.tk, running on my new blogging sotware using python+django!

Basic but fully functional.

Ill release more info soon

EDIT: when i say fully functional i mean missing trackbacks and rss... ;)

EDIT2: The RSS is now up and working at http://sam.xnet.tk/rss/

EDIT3: Now with a full rss feed for rss readers http://sam.xnet.tk/rss/full/

PHP Soap Server, Part 1: Introduction to WSDL

By Sam, on Thursday, 28 Feb 2008 at 10:37 p.m.

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

PHP Soap Server, Part 2: PHP Server and Client

[Continued...]

C# Console Framework

By Sam, on Tuesday, 5 Feb 2008 at 3:11 p.m.

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!

[Continued...]

Converting text files into a navigable collection with php

By Sam, on Monday, 14 Jan 2008 at 11:10 p.m.

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!

[Continued...]

Using a Linux Box to share Internet Access

By Sam, on Wednesday, 28 Nov 2007 at 12:47 p.m.

So recently i had to setup my linux server to be able to dialup to the internet and act as a internet sharing box for the other pc's on the network. This is how i did it.

[Continued...]

Programming and Debugging C on Linux

By Sam, on Saturday, 3 Nov 2007 at 10:54 p.m.

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.

[Continued...]

PHP and SQL injection

By Sam, on Monday, 10 Sep 2007 at 9:57 p.m.

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 #

[Continued...]

Eve Skill Notify

By Sam, on Saturday, 28 Jul 2007 at 10:31 a.m.

New Version V1.04

This is a skill reminder for the online game Eve-Online. It can notify you when the skill training has finished, give advanced warning and say if theres no skill training. It sits in the tray, and can be set to startup with windows.

[Continued...]

Flash Movies

By Sam, on Tuesday, 15 May 2007 at 5:09 p.m.

Heres a collections of links to flash movies that i recommend

[Continued...]

<<< Newer Posts | Older Posts >>>