The Most Active and Friendliest
Affiliate Marketing Community Online!

“Adavice”/  “1Win

Running PHP code in Wordpress Pages

monsterpot

New Member
affiliate
I am trying to add some php to a page in WP 2.6. Have tried exec-php plugin and also runphp plugin.

I can not get it to work.

Does any one know of any other php plugins, or a workaround or another way to run php in a wp page?
 
If I were you I were you I would simply put the php code into a separated page and would request it via php include. If you would like to assign the file only one certain page, I would defenatly use the
PHP:
$_SERVER["REQUEST_URI"]
variable.
I know it is not the best solution, but could be quick.
Thanks
 
banners
Back