i had a program that could get almost any web address and save the file it returned, but it didnt work for php generated addresses. the reason was that my code depended on there being a contentLength attribute, and there is none generated for things like this (like a google search). so i used an if statement to test weather there was one, and if there wasnt, instead of using a buffered read, i tried to read the contents one byte at a time. i had to use a vector for this because again, the contentLength wasnt known. now im stuck with a vector and i dont know how to get it into the file.