Page 1 of 1

how to access a file on local system

Posted: Wed Mar 31, 2004 5:07 pm
by ravitalele
Hi

I am trying to open a file residng on local hard drive from a php page. I have a html page from where I can browse to the file and click on a button which calls the php page.

When I try this it says the file does not exists. I have checked the if the file exists and display message if it does not. If I copy the file to the server where the php file is then it works OK. i.e. the file gets opened.

Any suggestions?

Thanks,

Posted: Wed Mar 31, 2004 5:09 pm
by markl999
Got some example code to show?