i'm trying to make a module for admins, one that will put the teamspeak admin page into php nuke. I have made several simple php nuke modules, however no matter ow i do it i cant figure this simple situation out.
this isn't really about php nuke, but how to insert or include a page with this kind of an adress:
http://mysite.com:12345/mypage.php
i had the phpnuke code, then:
include('mysite.com:12345/mypage.php');
but for whatever reason, it woud not load. i was able to do an iframe:
<?php
if (!defined('MODULE_FILE'))
{
die ("You can't access this file directly...");
}
define('INDEX_FILE', true);
require_once("mainfile.php");
$module_name = basename(dirname(FILE));
get_lang($module_name);
include("header.php");
$index = 0;
OpenTable();
echo"<iframe src='mysite.com:12345/mypage.php' style='width:800px;height:1000px; padding:0px; border:solid 1px black;' marginwidth='0' marginheight='0' frameborder='0' scrolling='no' refresh='60'></iframe>"
. ""
. ""
. ""
. "</a></div>"
. ""
. "</embed>"
. ""
. ""
. ""
. "</a></div>"
. "";
CloseTable();
include("footer.php");
?>
this worked, however it does not resize as other modules would. generically how would i properly include a page, behind a socket if its is/isn't on the same server?