Please show your support of Waihekepedia by adding a link to us from your web site. Waihekepedia T Shirts now available at the Ostend Market
User:Gadfium
I've seen something very similar in some other thread. You might find some parts of that article useful, not everything obviously, but I think it's worth looking into. http://stevenrgerst.com/fhgbv/15/function.file-put-contents/page/function.include/page/3