how to execute php code into html 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
pomy
Forum Newbie
Posts: 1
Joined: Sat Dec 12, 2009 1:34 pm

how to execute php code into html page

Post by pomy »

Dear buddies...

Recently I'm using bbperss plugin i.e. bbpages. In the editor of this plugin it accept only html code not php. but i want to execute php code in this editor how it will possible...

i want to inculde in this html editor this code

<?php include ("contact.php"); ?>
but its not accept this code... plz help me in this problem

I'll very thankful to you........love you all
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: how to execute php code into html page

Post by AbraCadaver »

Most likely you'll have to look through the bbpages code as it is most likely rejecting or sanitizing the PHP code, since what you are trying to do is very dangerous.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Post Reply