avc.vocho Posted September 3, 2009 Share Posted September 3, 2009 Hello!! I'm working with files with 'slk' extension, these files can be opened with excel but I can't get the info with php, I tried to use the PHPExcel class but there wasn't any good result. I would like to know if there's someone that could show me a way to solve my problem, I also tried to change the extension of the file but didn't work. Thanks for the time you would spend giving me some hope... Link to comment https://forums.phpfreaks.com/topic/172980-trying-to-work-with-slk-files/ Share on other sites More sharing options...
PFMaBiSmAd Posted September 3, 2009 Share Posted September 3, 2009 You are going to need to write (or find) a custom parser - http://en.wikipedia.org/wiki/SYmbolic_LinK_%28SYLK%29 Or you could open them with Excel and save them as a CSV which would be easier to process. Link to comment https://forums.phpfreaks.com/topic/172980-trying-to-work-with-slk-files/#findComment-911683 Share on other sites More sharing options...
avc.vocho Posted September 3, 2009 Author Share Posted September 3, 2009 I tried to open excel and change the extension of my file but I couldn't because the user is going to upload the file with slk extension :'( Anyway..... I think I have to write a parser form zero Link to comment https://forums.phpfreaks.com/topic/172980-trying-to-work-with-slk-files/#findComment-911690 Share on other sites More sharing options...
Mark Baker Posted September 3, 2009 Share Posted September 3, 2009 Hello!! I'm working with files with 'slk' extension, these files can be opened with excel but I can't get the info with php, I tried to use the PHPExcel class but there wasn't any good result. I would like to know if there's someone that could show me a way to solve my problem, I also tried to change the extension of the file but didn't work. Thanks for the time you would spend giving me some hope...Simply changing the extension of the file won't work. Give me until Monday, and I'll try and knock up a basic sylk reader for PHPExcel Link to comment https://forums.phpfreaks.com/topic/172980-trying-to-work-with-slk-files/#findComment-911770 Share on other sites More sharing options...
avc.vocho Posted September 3, 2009 Author Share Posted September 3, 2009 Wow!! Thanks Mark Baker for the time and patience, waiting for monday!! Link to comment https://forums.phpfreaks.com/topic/172980-trying-to-work-with-slk-files/#findComment-911803 Share on other sites More sharing options...
Mark Baker Posted September 3, 2009 Share Posted September 3, 2009 Wow!! Thanks Mark Baker for the time and patience, waiting for monday!! No guarantees, though keep an eye on the PHPExcel subversion code. It'll be available within 24 hours of my uploading, and I'm only planning on doing a basic data reader with perhaps some of the formatting (to help identify dates, number masks, etc). At least it's basically just a ; separated value file, so I can use PHP's fgetcsv() functions to read the data and not have to worry about binary formatting or packed decimal numbers or anything complex like that I didn't realise anybody still had SYLK files these days, it's a real throwback. Last time I used them, I was running Lotus 1-2-3 on Windows 3 Link to comment https://forums.phpfreaks.com/topic/172980-trying-to-work-with-slk-files/#findComment-911921 Share on other sites More sharing options...
Mark Baker Posted September 4, 2009 Share Posted September 4, 2009 PHPExcel Reader for SYLK files now committed to SVN. It should be available for download tomorrow: http://phpexcel.codeplex.com/SourceControl/ListDownloadableCommits.aspx Link to comment https://forums.phpfreaks.com/topic/172980-trying-to-work-with-slk-files/#findComment-912716 Share on other sites More sharing options...
avc.vocho Posted September 7, 2009 Author Share Posted September 7, 2009 All right!! Thank you very much!! Downloading... Link to comment https://forums.phpfreaks.com/topic/172980-trying-to-work-with-slk-files/#findComment-914154 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.