RE: [PHP] fgetcsv() excel data missing

2005-02-18 Thread Richard Lynch
Binoy AV wrote: > Could anybody please tell me how to read the data from an excel file ? > It should work independent of the operating system. I don't want the csv > format. For your first step, you'll have to convince Microsoft to OpenSource their code... Oh, yeah. You can't do that. :-) --

Re: [PHP] fgetcsv() excel data missing

2005-02-18 Thread Bret Hughes
On Fri, 2005-02-18 at 09:12, M. Sokolewicz wrote: > Binoy AV wrote: > > > Thanks Jay. > > > > Could anybody please tell me how to read the data from an excel file ? It should work independent of the operating system. I don't want the csv format. > excel files aren't independent of the OS,

Re: [PHP] fgetcsv() excel data missing

2005-02-18 Thread M. Sokolewicz
Binoy AV wrote: Thanks Jay. Could anybody please tell me how to read the data from an excel file ? It should work independent of the operating system. I don't want the csv format. excel files aren't independent of the OS, csv files are. Excel files need to be parsed, because they contain he

RE: [PHP] fgetcsv() excel data missing

2005-02-18 Thread Jay Blanchard
[snip] Could anybody please tell me how to read the data from an excel file ? It should work independent of the operating system. I don't want the csv format. [/snip] Start here http://us4.php.net/com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

RE: [PHP] fgetcsv() excel data missing

2005-02-18 Thread Binoy AV
Thanks Jay. Could anybody please tell me how to read the data from an excel file ? It should work independent of the operating system. I don't want the csv format. Binoy __ __ __ __ Sent via the WebMail system at softwareassociates.co

RE: [PHP] fgetcsv() excel data missing

2005-02-18 Thread Jay Blanchard
[snip] Thanks for the reply. It shows ÐÏࡱá>\\þÿ etc. source code I used is $handle = fopen ("file.xls","r"); while ($data = fgetcsv ($handle, 1000, ",")) { $num = count($data); for ($c=0; $c < $num ; $c++) { $str_email = $data[$c]; ec

RE: [PHP] fgetcsv() excel data missing

2005-02-18 Thread Binoy AV
Hi, Thanks for the reply. It shows ÐÏࡱá>\\þÿ etc. source code I used is $handle = fopen ("file.xls","r"); while ($data = fgetcsv ($handle, 1000, ",")) { $num = count($data); for ($c=0; $c < $num ; $c++) { $str_email = $data[$c]; echo $st

RE: [PHP] fgetcsv() excel data missing

2005-02-18 Thread Jay Blanchard
[snip] I used fgetcsv() function to get the data from a excel file. While reading the data it shows some special characters . I found the same problems in http://bugs.php.net/bug.php?id=12127&edit=2 Is it a bug? [/snip] What special characters does it show? -- PHP General Mailing List