FusionBB
Username Post: Including external php in post
carbmonkey
FusionBB Neophyte
Total Posts: 40
*
Average Post Ranks%:                       
01-11-12 02:17 PM - Post#85899    

I have a simple rating script outside of my forums (same domain) that I want to include inside the forums.

I have a series of topics and in the "article" at the top i'd like to call the ratings

on my non forum html pages I use

<?php
include_once('/home/public_html/rate-photos/ratings.php');
?>

then for each photo I assign one of these
<?php show_ratings_control("photo1"); ?>
<?php show_ratings_control("photo2"); ?>
<?php show_ratings_control("photo3"); ?>
etc.

I would like to show one of these in the topic/article but I can't get it to work.

tried including ratings.php in inserts, header, showtopic.php, body of post
but can't get it going.

any ideas?


NOTE: You are viewing an individual Post. View the Entire Topic
FusionBB™ Version 3.2 | ©2003-2013 InteractivePHP, Inc.
Execution time: 0.048 seconds.   Total Queries: 42   Zlib Compression is on.
All times are (GMT-4). Current time is 01:06 PM
Top