Hi !

here is my story (i have looked through archives and found nothing to my
problem):
I have working configuration of apache 1.3.27 with php-4.3.0 on linux
with 2.4.20 kernel. I want to put some php code into my .html pages.
So I have added:

1. <IfModule mod_php4.c>
  AddType application/x-httpd-php .html .php4 .php3 .phtml .php
  AddType application/x-httpd-php-source .phps
</IfModule>

2. ./configure --with-short-tags

3. in php.ini:
short_open_tag  =       On

my index.html looks like:
<br>
test<br>
test<br>
<br>
<script language="php">
print "dupa\n";
</script>
<br>
<?php print "dupa\n"; ?>

In a browser i can see only:
test
test

View source from browser looks like:
<br>
test<br>
test<br>
<br>
<script language="php">
print "dupa\n";
</script>
<br>
<?php print "dupa\n"; ?>

When i change the extension of file to .php it is working.

Where is the problem ?

--
greetz
boka

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to