My doubt is how to open a dialog box(using html/php) to the user so that he can decide where the txt file (which will be created by the php fwrite) will be recorded and under what name.
update1:
he page will get checkboxes with values, and i want the user to be able to give a directory and a nameOfFile to the php script so that the file will be created in that directory with that name, but i want something like a dialog box to user indicate where he decides that