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?? 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!";}?> 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. 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 Link to comment https://forums.phpfreaks.com/topic/18269-accessing-excel-file/#findComment-78503 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.