No więc pliki z paczek:
http://download.pear.php.net/package/Sprea...riter-0.9.1.tgzhttp://download.pear.php.net/package/OLE-0.6.1.tgzWrzucam do moj_projekt/lib/
Wywalało pełno błędów a więc zgodnie z jakąś poradą w necie zakomentowałem wszystkie require w plikach php. I na 1 rzut oka wszystko ok. Wykonuje swoj skrypt pojawia mi sie okno otworz/zapisz plik daje zapisz na HDD. Ale po otwarciu pliku mam pełno błędów

<?php
Strict Standards: Assigning the return value of new by reference is deprecated in /home/parzol/public_html/bellatoscana/lib/Writer/Workbook.php on line 186
Strict Standards: Assigning the return value of new by reference is deprecated in /home/parzol/public_html/bellatoscana/lib/Writer/Workbook.php on line 195
Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/php5/PEAR/PEAR.php on line 563
Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/php5/PEAR/PEAR.php on line 566
Strict Standards
: Non
-static method OLE
::Asc2Ucs() should not be called statically
, assuming
$this from incompatible context in
/home
/parzol
/public_html
/bellatoscana
/lib
/Writer
/Workbook
.php on line 586
Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /usr/share/php5/PEAR/PEAR.php on line 275
Strict Standards
: Non
-static method OLE
::Asc2Ucs() should not be called statically
, assuming
$this from incompatible context in
/home
/parzol
/public_html
/bellatoscana
/lib
/PPS
/Root
.php on line 52
Strict Standards
: Non
-static method OLE
::LocalDate2OLE() should not be called statically
, assuming
$this from incompatible context in
/home
/parzol
/public_html
/bellatoscana
/lib
/PPS
.php on line 190
Strict Standards
: Non
-static method OLE
::LocalDate2OLE() should not be called statically
, assuming
$this from incompatible context in
/home
/parzol
/public_html
/bellatoscana
/lib
/PPS
.php on line
191?>
Mój kod wygladą następująco:
<?php
$workbook = new Spreadsheet_Excel_Writer();
$worksheet =& $workbook->addWorksheet('My first worksheet');
$worksheet->write(0, 0, 'Name');
$worksheet->write(0, 1, 'Age');
$workbook->send('test.xls');
$workbook->close();
?>
Jak widać kod z tutoriala na maxa prosty. Co robie nie tak? Jakieś wskazówki?