set_include_path()
string set_include_path ( string $nowa_wartość_dla_include_path )
Ustawia konfiguracyjne opcje dla include_path(), jest ona ważna tylko do zakończenia skryptu.
Kompatybilność: PHP4, PHP5.
Listing
<?php
// PHP 4.3.0
set_include_path('/inc');
// Wszystkie wersje PHP
ini_set('include_path', '/inc');
?>
#2
<?php
$path = '/usr/lib/pear';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
?>
// PHP 4.3.0
set_include_path('/inc');
// Wszystkie wersje PHP
ini_set('include_path', '/inc');
?>
#2
<?php
$path = '/usr/lib/pear';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
?>
Dodano przez: divix
Ranga: Administrator serwisu Punktów: 38473
Ranga: Administrator serwisu Punktów: 38473
Komentarze użytkowników
:: Losowe artykuły

:: Wymiana linków

Modowe inspiracje |
Android Gry i Aplikacje |
ZaplanujTransport.pl: Przeprowadzki, transport, aukcje |
Logo dla firmy |
Change Tires - Car Weather Forecast Reminder |
Zend Framework 3. Developer's Guide |
IT Books Reviews and Programming: JS, JAVA, PHP, ANDROID, CSS |
Katalog roślin |
Programming articles of: JAVA, PHP, C++, Pyth, JavaScript and so on..