Reply to phpexcelreader, help needed

Your name:

Reply:


Posted by wouterclemens on 03/19/06 22:55

Hi there

I'm trying to use the program phpexcelreader which I downloaded at
http://sourceforge.net/projects/phpexcelreader/.
I followed up the instructions but I'm not able to show the html files.
I've added some echo's to the program to find out where it goes wrong
and I think it's in the oleread.inc class in the following loop:

while ($sbdBlock != -2) {
$teller++;
$pos = ($sbdBlock + 1) * BIG_BLOCK_SIZE;
//echo "Positie=".$pos;

for ($j = 0; $j < BIG_BLOCK_SIZE / 4; $j++) {
$this->smallBlockChain[$index] = GetInt4d($this->data, $pos);
$pos += 4;
$index++;

}
//echo $teller."<br>";
//echo $sbdBlock;
if($sbdBlock == -2) {echo "-2";}
$sbdBlock = $this->bigBlockChain[$sbdBlock];
}

No matter what xls-file i use, the loop stops at a count of 2342. Mayby
this is some kind of maximum...also the exit condition of ($sbdBlock ==
-2) is never reached...

Has anyone had the same problem or knows a solution for this. my php
knowledge isnt very good so i'm not able to find it out myself.

thx in advance

clemant

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация