I am using a php script that generates a NEW php script. i dont have a problem generating the code, but i want to have the save dialog open so that the file isn't viewed, its saved. Ive tryed many content types, "application/x-ms-download", "application/download", "application/zip" even but i cant get a dialog to appear, it just runs the script that it loaded it. if you can help, please do.