doc:appunti:prog:php_include
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:prog:php_include [2009/03/05 18:01] – niccolo | doc:appunti:prog:php_include [2009/03/05 18:02] (current) – niccolo | ||
---|---|---|---|
Line 53: | Line 53: | ||
</ | </ | ||
- | Una soluzione è quella di usare la variabile **'' | + | Una soluzione è quella di usare la variabile **'' |
+ | |||
+ | Ad esempio per essere certi che **'' | ||
<code php> | <code php> | ||
- | $abs_path = dirname(__FILE__); | + | include(dirname(__FILE__) . '/' |
- | include($abs_path | + | |
</ | </ |
doc/appunti/prog/php_include.1236272465.txt.gz · Last modified: 2009/03/05 18:01 by niccolo