praveenhotha Posted August 22, 2006 Share Posted August 22, 2006 How can i open an excel file using fopen, when i do so , its giving the message that no such file exists... what should be the extension is it .xls or shall give the name of the file only?? Quote Link to comment https://forums.phpfreaks.com/topic/18269-accessing-excel-file/ Share on other sites More sharing options...
manmadareddy Posted August 22, 2006 Share Posted August 22, 2006 <?php$filename='test.xls';if(file_exists($filename)){ $fp=fopen($filename,"r"); echo $fp;}else{ echo "file not found!";}?> Quote Link to comment https://forums.phpfreaks.com/topic/18269-accessing-excel-file/#findComment-78453 Share on other sites More sharing options...
praveenhotha Posted August 22, 2006 Author Share Posted August 22, 2006 it doesnt work that way...I've tried it. Quote Link to comment https://forums.phpfreaks.com/topic/18269-accessing-excel-file/#findComment-78492 Share on other sites More sharing options...
manmadareddy Posted August 22, 2006 Share Posted August 22, 2006 It will work fine. Anyway if u want to try more meanshttp://www.paggard.com/projects/xls.reader/ http://www.phpclasses.org/browse/package/1919.html Quote Link to comment https://forums.phpfreaks.com/topic/18269-accessing-excel-file/#findComment-78503 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.