Thanks it helped A lot and saved me sum time
i have only been scripting for a short period of time
i hope that i will learn some more , i noticed that you're from Melbourne Australia , i live in Sydney Australia
but one thing even when the the server isnt online say normal HTTP
Apache port 80 it still says online ?