
02.01.2008, 02:51
|
|
Познающий
Регистрация: 01.01.2008
Сообщений: 50
С нами:
9662713
Репутация:
71
|
|
Сообщение от Piflit
почему можно было убрать session_register("pic_val"); ?
Дык оно deprecated, плюс работает только если включено register_globals что вообще идея дурная.
Caution
If you want your script to work regardless of register_globals, you need to instead use the $_SESSION array as $_SESSION entries are automatically registered. If your script uses session_register(), it will not work in environments where the PHP directive register_globals is disabled.
http://ru2.php.net/session_register
|
|
|