Bandwidth Checker

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
I have a .swf on another hosting, and I embed into one of my pages here at x10. When I run out of bandwidth, I don't want the file to just not display..rather than exchange the code for a 'this file can not be displayed' type thing.

I have an idea with php, but not sure it will work:
PHP:
require_once "check";
if 'check' is present {<embed>
} else {
this file can not be displayed
 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
Embedding a Flash Object from another Hosting account doesn't add-up in your bandwidth meter in X10, here.

Do you mean, exceeding bandwidth in THAT another hosting account?
 

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
when I exceed the bandwidth is that other account, instead of just displaying nothing since the file can not be retrieved, it shows the string of text
 

GG-Xtreme

New Member
Messages
430
Reaction score
0
Points
0
Maybe have it check if it can successfully retrieve the file?
 

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
that is what I am thinking...having it check it it can receive the whole file, if it could then put the embed code is, or else switch it out for something else...
I just dun kno how to do that
 

Slothie

New Member
Messages
1,429
Reaction score
0
Points
0
Is there a notice you get from the other site? Like a 503 site not available message when you are out of bandwidth?
 

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
it is a .swf that is showing..and I want it to have like some special text
and I can switch it out with another code
 
Top