Liquid Fire Posted November 9, 2006 Share Posted November 9, 2006 How would I go about opening a file on the user computer like opening the file:c:\test.gif Link to comment https://forums.phpfreaks.com/topic/26702-opening-file-question/ Share on other sites More sharing options...
trq Posted November 9, 2006 Share Posted November 9, 2006 You wouldn't. PHP runs on the server and cannot interact with the client in such a way. Link to comment https://forums.phpfreaks.com/topic/26702-opening-file-question/#findComment-122166 Share on other sites More sharing options...
Liquid Fire Posted November 9, 2006 Author Share Posted November 9, 2006 ok would would i need in order to upload a file from my users computer to the server machine? Link to comment https://forums.phpfreaks.com/topic/26702-opening-file-question/#findComment-122171 Share on other sites More sharing options...
trq Posted November 9, 2006 Share Posted November 9, 2006 Sorry. Is that a question? Link to comment https://forums.phpfreaks.com/topic/26702-opening-file-question/#findComment-122173 Share on other sites More sharing options...
Liquid Fire Posted November 9, 2006 Author Share Posted November 9, 2006 yes i won't to be able to allow users to be able to upload images to a certain directory.so my question is what would i need to know and use inorder to allow this.sorry for the bad wording before. Link to comment https://forums.phpfreaks.com/topic/26702-opening-file-question/#findComment-122177 Share on other sites More sharing options...
trq Posted November 9, 2006 Share Posted November 9, 2006 Have you searched for a tutorial on 'php file uploading' ? Link to comment https://forums.phpfreaks.com/topic/26702-opening-file-question/#findComment-122181 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.