NameSilo

Odd error

SpaceshipSpaceship
Watch

Ringr

VIP Member
Impact
45
I get this weird error every so often:
Code:
Warning: main(http://*********.com/online/online.php): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/flametid/public_html/website/region/networktraffic/index.php on line 47

Warning: main(http://*********.com/online/online.php): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/flametid/public_html/website/region/networktraffic/index.php on line 47

Warning: main(): Failed opening 'http://*********.com/online/online.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/flametid/public_html/website/region/networktraffic/index.php on line 47

Here's line 47 it's talking about:
Code:
<?php
include ("http://*********.com/online/online.php");
?>

My site is a WIP, which is why I hid the domain.
But still, it should work, no? Yes, the directories/files do exist and most times it does display correctly but every once in a while I get an error like that above. Any ideas why?

Thanks,
Andy
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Try using a path instead of a URL:

/home/etc/..../online/online.php

see if that makes a difference.
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy — Live Options
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back