In an effort to help you get the most from our forums, we've compiled a list of tips for asking questions here. You can find the list in our FAQ section here.
Since your question has sat here for three days without getting any responses other than two people pointing out spelling errors, it might a good idea to see if any of the tips on that page apply here.
I, personally didn't respond because I saw a lot of unformatted code dumped into your post and never bothered reading it. See UseCodeTags] to find out how to preserve your code's indentation which will make it easier to read.
The two people who did respond pointed out spelling errors that would keep your code from working. They may have figured that your code was so sloppy that it would take forever to help you debug it on a web forum like this and decided not to bother. If the real code on your server doesn't contain these spelling errors but was mistyped when you posted it here, you might want to see AvoidRedHerrings]. It has links to other articles that show you how to cut and paste things like file structures and environment variables.
At this point, if you want to improve the quality of this question, you can do one of two things.
1.) Edit your original post. The '' icon, will open your original post in an edit screen that will allow you to fix up and format your question and code.
2.) Start over. Just ask, and I'll close or delete this thread for you so you can ask again with well formatted, clean code. A thread with zero respones has a better chance of being read so this might be the better of the two options.
Let me know, -Ben [ January 26, 2008: Message edited by: Ben Souther ]