Including a shtml file in a PHP Page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Brainchild
Forum Newbie
Posts: 2
Joined: Tue Aug 17, 2004 3:17 pm

Including a shtml file in a PHP Page

Post by Brainchild »

Hey, im trying to include a .shtml file to my index.php page.
The .shtml has the code <!--#exec cmd="cgi-bin/entropybanner.cgi"--> in it for banner rotations. And the file that has that code has to have a .shtml extension to work. Is there anyway i can indlude this file or code into my index.php page?
Draco_03
Forum Regular
Posts: 577
Joined: Fri Aug 15, 2003 12:25 pm
Location: Montreal, Canada

Post by Draco_03 »

do you know how include work ?
It simply paste the code into the page you want.
here
Brainchild
Forum Newbie
Posts: 2
Joined: Tue Aug 17, 2004 3:17 pm

Post by Brainchild »

i wish i could say i get this, but i dont know much about php :/
Post Reply