--- Al Costanzo <[EMAIL PROTECTED]> wrote: > This will not work because the page in question ends in .HTML but I > did discover a way to do what I need and an answer to many other > posts. > > Here is the answer: > > To make a PHP command to execute on a .html page create another page > ending in .php with the code there. Where you need to display this in > your .html page use the <IFRAME> html tag. It works just fine.
This will work, but it sure seems ugly. There are possibly better alternatives for you. For example, you can make your Web server interpret .html files as PHP, or you can use the proper .php extension. Are either of these a possibility for you? Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php