Page 1 of 1

downloading files

Posted: Tue Nov 25, 2003 2:39 am
by shan123
I'm downloading a file on server thro' PHP.
I have to open this file directly in the browser instead of opening a download dialog.
Can anyone help me urgently?

Thanks in advance...

Shantanu

Posted: Tue Nov 25, 2003 2:47 am
by m3mn0n
whats the file type?

file downloads

Posted: Tue Nov 25, 2003 2:50 am
by shan123
oh sorry about that , the file type to be opened in the browser will be
text or gif/jpeg

Posted: Tue Nov 25, 2003 4:27 am
by m3mn0n
Try [php_man]fopen[/php_man]().