Re: how to require php file in a.html file

From: Date: Fri, 15 Feb 2002 15:25:26 +0000
Subject: Re: how to require php file in a.html file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-84916@lists.php.net to get a copy of this message
If you're using apache, make sure .html is included as an extension that gets parsed by PHP. Tyler ----- Original Message ----- From: "mysqlphp" <mysqlphp@oco.net> To: <php-general@lists.php.net> Sent: Friday, February 15, 2002 8:08 AM Subject: [PHP] how to require php file in a.html file > Hi, > > How do you (or is it possible) to ask a html tagged file (snoopy.html) > to include a php file that reads and embeds cookies and talks to a MySQL > database? The code below (written before the html tag) is not working > for me and really want to avoid changing all my .html files to .php > files. > > Thanks for any help, > > David > > <? > > // includes > include("track.php"); > > ?> > <html> > etc... > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#84916) next »