well sorry about that, right now i'm testing it in a windows platform, but i need it for unix, and for windows, and i'm using IE but it needs to work with most of the browsers.
the script creates a file, but it has no content, it's 0 bytes long. well i hope this looks better, if it doesn't please tell me.