File_get_contents fetching error

my script isnt working. I get the error on the line with file_get_contents

the site loads in browser without issue when my server is on http://37.130.226.196:8086/connectioninfo.txt -(wowza media server on ubuntu 12.04-dedicated server)

I have also tried switching the url to http://www.google.com for a test, and it successfully loaded the page content.

What am I doing wrong?

<?php error_reporting(~0); ini_set('display_errors', 1); $page=NULL; $page=file_get_contents('http://37.130.226.196:8086/connectioninfo.txt'); print ($page); if ($page="server=/^[0-9][0-9]*$/" ) { ?>

<?php } else { ?> <?php } ?>

What is the error?

Is it http or https? 8086 is usually used as a secure port.

Sponsor our Newsletter | Privacy Policy | Terms of Service