Page 1 of 1

Download and Open a file

Posted: Sat Jun 02, 2007 2:41 am
by salim
Hi

Straight away into the problem.I want to download a word file when i click on the link and automaically save to a particular folder (say c:\myfiles) and open it open it before the user.I know how to simply download a file.I want to download file without prompting the user with the save,download window and open it frm the downloaded location.

OR

If i hit the save button in the prompted window will i be able to open the file automatically after download?

Plz Help

Thnx in advance

Posted: Sat Jun 02, 2007 5:17 am
by timvw
That's not going to work. Ever. (Think about it: If this was possible any kiddie could install a virus on your pc.)

Posted: Sat Jun 02, 2007 5:27 am
by superdezign
I believe that's possible, but not from the server. You'd actually have to run your PHP files on their computer to alter their file system.
But really, not everyone has Word anyway. I know I don't.

Posted: Sat Jun 02, 2007 6:48 am
by salim
Hello

Thanks for the expert opinion.

I know this will be the reply.But what to do i was just trying.

once again Thanks for the help .