Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [pear] nie działa za żadne skarby
ppatrykp
post
Post #1





Grupa: Zarejestrowani
Postów: 17
Pomógł: 0
Dołączył: 30.03.2007

Ostrzeżenie: (0%)
-----


witam, nie jestem pewien czy to dobry dział, jeśli nie przepraszam i proszę o przeniesienie tam gdzie trzeba.

Mój problem polega na tym, że pisze skrypt tworzący plik xls i nie mogę w ogóle inkludować odpowiednichn bibliotek PEAR
non stop taki efekt:
  1. <?php
  2. Warning: require_once(Spreadsheet/Excel/Writer/Workbook.php) [function.require-once]: failed to open stream: No such file or directory in /home/ppatrykp/public_html/bosch/doexcel.php on line 35
  3.  
  4. Fatal error: require_once() [function.require]: Failed opening required 'Spreadsheet/Excel/Writer/Workbook.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ppatrykp/public_html/bosch/doexcel.php on line 35
  5. ?>


bądź


  1. <?php
  2. Warning: require_once(Spreadsheet/Excel/Writer.php) [function.require-once]: failed to open stream: No such file or directory in /home/ppatrykp/public_html/bosch/doexcel.php on line 35
  3.  
  4. Fatal error: require_once() [function.require]: Failed opening required 'Spreadsheet/Excel/Writer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ppatrykp/public_html/bosch/doexcel.php on line 35
  5. ?>


mam konto wirtualne na webd.pl

w necie są raptem śladowe informacje o takim problemie, niestety nieużyteczne. Co robię źle?

z góry dzięki
Paweł
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Noddi
post
Post #2





Grupa: Zarejestrowani
Postów: 45
Pomógł: 7
Dołączył: 25.12.2004
Skąd: Kraków

Ostrzeżenie: (0%)
-----


Z dokumentacji PEAR:

  1. <?php
  2. ini_set('include_path', '~/pear/lib' . PATH_SEPARATOR
  3.        . ini_get('include_path'));
  4.  
  5. // From PHP 4.3.0 onward, you can use the following,
  6. // which especially useful on shared hosts:
  7. set_include_path('~/pear/lib' . PATH_SEPARATOR
  8.                 . get_include_path());
  9. ?>
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 5.10.2025 - 20:18