I would like to ask can i make the url in file_get_content() become changeable according to the port that user click? For example, if user click port2 will become
$html = file_get_contents('http://..port2.html');
while if user click port 3 will become
$html = file_get_contents('http://..port3.html');
i try to set the link as
$html = file_get_contents('http://..port<?=$mrtg_id?>.html');
but it shown error. Any suggestion?