Jay,
I should have though of that. Thanks.
"Jay Blanchard" <[EMAIL PROTECTED]> wrote:
><?php
>$display_start = "2003-10-01";
>$display_end = "2003-10-31";
>if((date("Y-m-d") >= $display_start) && (date("Y-m-d") <=
>$display_end)){
> print($stuff);
>}
>?>
Cesar: Is your server is set up correctly? In your httpd.conf file, add .html you can
use php in html files:
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .php4 .php3 .phtml .htm .html
AddType application/x-httpd-php-source .phps
</IfModule>
<IfModule mod_php3.c>
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
</IfModule>
<IfModule mod_php.c>
AddType application/x-httpd-php .phtml
</IfModule>
Cesar Aracena wrote:
> If you could just change the file extension to .php to be accord to this
> forum...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php