Odd error

SpaceshipSpaceship
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Try using a path instead of a URL:

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

see if that makes a difference.
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back