Wywalilo mi taki bład:
Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/www/..) in /home/www/.../sessions.php on line 127
Jaki moze byc powod?
Wywalilo mi taki bład:
Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/www/..) in /home/www/.../sessions.php on line 127
Jaki moze byc powod?
no jednym słowem to zła konfiguracja serwera
zamiast ustawiac session_save_path na "/tmp" daj
"./tmp"
realpath('./tmp')
dirname(__FILE__) . 'sciezka_relatywna_do_skryptu'
Oczywiscie katalog tmp zabezpiecz i daj htaccessa tam zeby sie nik nie probowal dostac
order deny, allow
deny from all