prcollin Posted June 17, 2008 Share Posted June 17, 2008 Is there a way to make an offline form, basically just a form that I dont post to a server, that can access an excel file not on a server and read from it like it all was on the server?? instead of connecting to a db and all that just connect to the file on my c: drive? Link to comment https://forums.phpfreaks.com/topic/110579-is-there-a-way-really-need-help/ Share on other sites More sharing options...
craygo Posted June 17, 2008 Share Posted June 17, 2008 You could read the file as long as it is accessible from the internet. Either through http or through FTP. Ray Link to comment https://forums.phpfreaks.com/topic/110579-is-there-a-way-really-need-help/#findComment-567313 Share on other sites More sharing options...
prcollin Posted June 17, 2008 Author Share Posted June 17, 2008 well it is very sensitive data so i dont want it published to the internet at all. any way just to make a form and stuff to read from my hardrive using php forms and stuff? Link to comment https://forums.phpfreaks.com/topic/110579-is-there-a-way-really-need-help/#findComment-567338 Share on other sites More sharing options...
craygo Posted June 17, 2008 Share Posted June 17, 2008 Is the web server on the same box as the file, or on the same network?? Link to comment https://forums.phpfreaks.com/topic/110579-is-there-a-way-really-need-help/#findComment-567363 Share on other sites More sharing options...
prcollin Posted June 17, 2008 Author Share Posted June 17, 2008 Is the web server on the same box as the file, or on the same network?? The file is on the computer that is going to use the forms. I can do it with access but dont like access and just wanted to create an offline script to call a local file. Link to comment https://forums.phpfreaks.com/topic/110579-is-there-a-way-really-need-help/#findComment-567366 Share on other sites More sharing options...
craygo Posted June 17, 2008 Share Posted June 17, 2008 should be easy enough, you just have to give permission to the web account where the file is located. You need to have at least read permission to the folder which holds the file. What are the server specs? OS, Web server, php version?? Link to comment https://forums.phpfreaks.com/topic/110579-is-there-a-way-really-need-help/#findComment-567375 Share on other sites More sharing options...
prcollin Posted June 17, 2008 Author Share Posted June 17, 2008 should be easy enough, you just have to give permission to the web account where the file is located. You need to have at least read permission to the folder which holds the file. What are the server specs? OS, Web server, php version?? no server just pretend that I pulled the internet cable out of my computer is there a way to use php to access harddrive files. Link to comment https://forums.phpfreaks.com/topic/110579-is-there-a-way-really-need-help/#findComment-567380 Share on other sites More sharing options...
craygo Posted June 17, 2008 Share Posted June 17, 2008 yes there is. but you need somewhere to show the results don't you?? Without a web server running how you going to show the results or the form. Unless you are going to write it to a file. you can write a php script then use the command line to run the script and access the file no problem, but you would have to save the results to a file if you do not have a web server running. Ray Link to comment https://forums.phpfreaks.com/topic/110579-is-there-a-way-really-need-help/#findComment-567385 Share on other sites More sharing options...
prcollin Posted June 17, 2008 Author Share Posted June 17, 2008 gotcha thanks Link to comment https://forums.phpfreaks.com/topic/110579-is-there-a-way-really-need-help/#findComment-567399 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.