Это уже для протокола =) > 2) 2.php > > Владимир Леонидов пишет: > Тогда 2-й работает, а 1-й нет > Причина: ; Allow the tags are recognized. ; NOTE: Using short tags should be avoided when developing applications or ; libraries that are meant for redistribution, or deployment on PHP ; servers which are not under your control, because short tags may not ; be supported on the target server. For portable, redistributable code, ; be sure not to use short tags. short_open_tag = Off так что правильнее писать > >> А что говорится в логах? >> tail /var/log/httpd2/error_log - к примеру... >> > > [Sun Nov 11 05:55:08 2007] [error] [client 127.0.0.1] PHP Notice: > Undefined variable: gzipuse in /var/www/apache2/html/index.php on line > 5 > [Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] PHP Notice: > Undefined variable: gzipuse in /var/www/apache2/html/index.php on line > 5 > [Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] PHP Warning: > session_start(): Cannot send session cookie - headers already sent by > (output started at /var/www/apache2/html/functions.php:40) in > /var/www/apache2/html/index.php on line 10 > [Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] PHP Warning: > session_start(): Cannot send session cache limiter - headers already > sent (output started at /var/www/apache2/html/functions.php:40) in > /var/www/apache2/html/index.php on line 10 > [Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] PHP Fatal error: > Call to undefined function ip() in /var/www/apache2/html/index.php on > line 16 > [Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] File does not > exist: /var/www/apache2/html/\\"$q[1]\\", referer: http://localhost/ > [Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] File does not > exist: /var/www/apache2/html/.$ee[1]., referer: http://localhost/ > [Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] File does not > exist: /var/www/apache2/html/\\"$zamena\\", referer: http://localhost/ > [Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] File does not > exist: /var/www/apache2/html/$logo, referer: http://localhost/ > [Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] File does not > exist: /var/www/apache2/html/templates/$templ_name, referer: > http://localhost/ > > Короче говоря, он не хочет воспринимать переменные должным образом до этого я ещё не добрался =/