ziavra, спасибо за помощь, но не помогло. только заметил, что в paket.php $myhost прописан неверно. прописал
http://localhost/r/
теперь при запуске пакетки выдает что все сгенерилось, но доров нет) папка пуста (то же самое, если перенести в папку www). пробовал ради интереса прописать задания не в каждой новой строке а через строку. тогда выдает такое:
Ага. Значит дорген лежит тут -
http://localhost/r/...
Warning: include(data/settings/ .php) [function.include]: failed to open stream: Invalid argument in Z:\home\localhost\www\r\yes\paket.php on line 35
Warning: include() [function.include]: Failed opening 'data/settings/ .php' for inclusion (include_path='.;/usr/local/php5/PEAR') in Z:\home\localhost\www\r\yes\paket.php on line 35
Warning: file(data/keys/.txt) [function.file]: failed to open stream: No such file or directory in Z:\home\localhost\www\r\yes\paket.php on line 36
35-я и 36-я строка выглядели так:
include("data/settings/".$prof[$iq].".php");
$keys=file("data/keys/".$nkeys[$iq].".txt");
я заменил на:
include("yes/data/settings/".$prof[$iq].".php");
$keys=file("yes/data/keys/".$nkeys[$iq].".txt");
Ага. Значит дорген лежит тут -
http://localhost/r/...
Warning: include(yes/data/settings/adult.php) [function.include]: failed to open stream: No such file or directory in Z:\home\localhost\www\r\yes\paket.php on line 35
Warning: include() [function.include]: Failed opening 'yes/data/settings/adult.php' for inclusion (include_path='.;/usr/local/php5/PEAR') in Z:\home\localhost\www\r\yes\paket.php on line 35
Warning: file(yes/data/keys/map1.txt) [function.file]: failed to open stream: No such file or directory in Z:\home\localhost\www\r\yes\paket.php on line 36
Warning: include(yes/data/settings/ .php) [function.include]: failed to open stream: No such file or directory in Z:\home\localhost\www\r\yes\paket.php on line 35
Warning: include() [function.include]: Failed opening 'yes/data/settings/ .php' for inclusion (include_path='.;/usr/local/php5/PEAR') in Z:\home\localhost\www\r\yes\paket.php on line 35
Warning: file(yes/data/keys/.txt) [function.file]: failed to open stream: No such file or directory in Z:\home\localhost\www\r\yes\paket.php on line 36
Warning: include(yes/data/settings/adult.php) [function.include]: failed to open stream: No such file or directory in Z:\home\localhost\www\r\yes\paket.php on line 35
Warning: include() [function.include]: Failed opening 'yes/data/settings/adult.php' for inclusion (include_path='.;/usr/local/php5/PEAR') in Z:\home\localhost\www\r\yes\paket.php on line 35
Warning: file(yes/data/keys/map2.txt) [function.file]: failed to open stream: No such file or directory in Z:\home\localhost\www\r\yes\paket.php on line 36
Это он выдает, когда задания прописаны через строку. А вот что выдает когда задания в каждой новой строке:
Warning: include(yes/data/settings/adult.php) [function.include]: failed to open stream: No such file or directory in Z:\home\localhost\www\r\yes\paket.php on line 35
Warning: include() [function.include]: Failed opening 'yes/data/settings/adult.php' for inclusion (include_path='.;/usr/local/php5/PEAR') in Z:\home\localhost\www\r\yes\paket.php on line 35
Warning: file(yes/data/keys/map1.txt) [function.file]: failed to open stream: No such file or directory in Z:\home\localhost\www\r\yes\paket.php on line 36
Warning: include(yes/data/settings/adult.php) [function.include]: failed to open stream: No such file or directory in Z:\home\localhost\www\r\yes\paket.php on line 35
Warning: include() [function.include]: Failed opening 'yes/data/settings/adult.php' for inclusion (include_path='.;/usr/local/php5/PEAR') in Z:\home\localhost\www\r\yes\paket.php on line 35
Warning: file(yes/data/keys/map2.txt) [function.file]: failed to open stream: No such file or directory in Z:\home\localhost\www\r\yes\paket.php on line 36
уже не знаю, что и делать. ziavra, очень надеюсь на помощь!