Est. 2003
Home Help Login Register
News: Welcome to ZboX Webhosting.
10 Megs

10 MB Disk
1 GB Transfer
$10.00 per year
25 Megs

25 MB Disk
2 GB Transfer
$25.00 per year
50 Megs

50 MB Disk
3 GB Transfer
$50.00 per year
75 Megs

75 MB Disk
4 GB Transfer
$75.00 per year
500 Megs

500 MB Disk
10 GB Trans
$100.00 yr.

+  ZboX Webhosting Est. 2003. Now in our Fifth year!
|-+  Help!
| |-+  Problems and/or Questions
| | |-+  Connection problems
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: Connection problems  (Read 640 times)
DJ Mike
Serious Poster
****
Offline Offline

Posts: 166



Connection problems
« on: July 25, 2008, 04:24:03 PM »

I've been having connection problems. Have to click a link to my site 5-10 times before I get through.
Logged


ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1660


What 'ya got there??


Re: Connection problems
« Reply #1 on: July 25, 2008, 04:36:37 PM »

I've been having connection problems. Have to click a link to my site 5-10 times before I get through.

Hi Mike,
Just ran a couple of tracert's to Cap and it's all looking good. You having any issues going anywhere else?

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
Erv
Mega ZboXian
***
Offline Offline

Posts: 57



Re: Connection problems
« Reply #2 on: July 26, 2008, 05:15:53 AM »

I'm having problems loading background and images, using php randomize,,, on pdhomes
Logged
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1660


What 'ya got there??


Re: Connection problems
« Reply #3 on: July 26, 2008, 05:20:44 AM »

I'm having problems loading background and images, using php randomize,,, on pdhomes

Hi Erv,
Can you post an example?

~;-)

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
Erv
Mega ZboXian
***
Offline Offline

Posts: 57



Re: Connection problems
« Reply #4 on: July 26, 2008, 06:01:03 AM »

Hi Bert,
sorry I got you up early this morning-
found that I had a bad URL for the background,,, and the images are now working tooo.
Logged
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1660


What 'ya got there??


Re: Connection problems
« Reply #5 on: July 26, 2008, 06:06:46 AM »

Hi Bert,
sorry I got you up early this morning-
found that I had a bad URL for the background,,, and the images are now working tooo.

No worries Erv.

~;-)

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
Erv
Mega ZboXian
***
Offline Offline

Posts: 57



Re: Connection problems
« Reply #6 on: July 26, 2008, 07:18:13 AM »

Here is one,, have to refresh,, somtimes 3 or 4 ,, to get background

http://pdhomes.net/senior/erv/msntv2/webtvNG4tv2.html




Logged
DJ Mike
Serious Poster
****
Offline Offline

Posts: 166



Re: Connection problems
« Reply #7 on: July 26, 2008, 08:32:24 AM »

I tried Erv's page several times and had no problem but I just had to try my alt-home page 19 times before it would respond:

http://eclecticdjs.com/mike/wtv/althome.php

His doesn't have a domain, mine does. Domain name server?
« Last Edit: July 26, 2008, 08:59:41 AM by DJ Mike » Logged


ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1660


What 'ya got there??


Re: Connection problems
« Reply #8 on: July 26, 2008, 08:36:45 AM »

I tried Erv's page several times nd had no problem but I just had to try my alt-hame page 19 times before it would respond:

http://eclecticdjs.com/mike/wtv/althome.php

His doesn't have a domain, mine does. Domain name server?

Actually I'm having the same problem with both of yours. Are ya'll using the same randomizer?

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
Erv
Mega ZboXian
***
Offline Offline

Posts: 57



Re: Connection problems
« Reply #9 on: July 26, 2008, 08:45:23 AM »

Bert--

I got the code for my randomizer from Mike

~Erv
Logged
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1660


What 'ya got there??


Re: Connection problems
« Reply #10 on: July 26, 2008, 08:48:44 AM »

Bert--

I got the code for my randomizer from Mike

~Erv

Ok, was it working before? If so, can you tell me approximately when it stopped working?

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
Erv
Mega ZboXian
***
Offline Offline

Posts: 57



Re: Connection problems
« Reply #11 on: July 26, 2008, 08:53:02 AM »

Yesterday,,, afternoon or evening was when I first noticed it..
thought it might be a glitch,,, but seemed more
frequent today.

~Erv
Logged
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1660


What 'ya got there??


Re: Connection problems
« Reply #12 on: July 26, 2008, 08:56:20 AM »

Yesterday,,, afternoon or evening was when I first noticed it..
thought it might be a glitch,,, but seemed more
frequent today.

~Erv

Ok, can you post the code for it? I have a feeling it's the server security that's messing with it.

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
Erv
Mega ZboXian
***
Offline Offline

Posts: 57



Re: Connection problems
« Reply #13 on: July 26, 2008, 09:01:31 AM »


This is it-------



<?
session_start();
# only run when $url is set and ends in .txt
if ( isset($_GET[url]) && preg_match("#\.txt$#i", $_GET[url], $x) )
{
/*
List $url into an array.
Count members of the array.
Make a random number from 0 to (number of members -1) Select random file from the array.
*/
$url = $_GET[url];
$array = file( "$url" );
$num = count($array);
$rand = rand(0, $num-1 );
$url = "$array[$rand]";

# send to browser
header("HTTP/1.1 301 Moved Permanently"); header("Location: $url");
exit();
}
# error message if $url is not set or not .txt else
{
# rand_inc.php is another file for the form. include("rand_inc.php");
}
?>
<html>
<head>
<title>RANDOMIZE</title>
</head>
<body bgcolor=tan>
<center>
<h2>RANDOMIZER</h2>
</center>
</body>
</html>
Logged
DJ Mike
Serious Poster
****
Offline Offline

Posts: 166



Re: Connection problems
« Reply #14 on: July 26, 2008, 09:14:32 AM »

It wasn't working in the morning either. At least 9 AM. Burt, you and I are in the same time zone.

You can see how I made it so that it can only read text files. I did that because I realized that if it could read a PHP file, you could get random lines of source code from it. It would be tedious but a hacker could source a whole script. Pays to be paranoid ;-)

Erv, look what happens if you add php to the PHP opening tag:

Code:
<?php
session_start
();
# only run when $url is set and ends in .txt
if ( isset($_GET[url]) && preg_match("#txt$#i"$_GET[url], $x) )
{
/*
List $url into an array.
Count members of the array.
Make a random number from 0 to (number of members -1) 
Select random file from the array.
*/
$url $_GET[url];
$array file"$url" );
$num count($array);
$rand rand(0$num-);
$url "$array[$rand]";

# send to browser
header("HTTP/1.1 301 Moved Permanently"); 
header("Location: $url"); 
exit();
}
# error message if $url is not set or not .txt
else 

include(
"rand_inc.php");
}
?>
« Last Edit: July 26, 2008, 09:17:55 AM by DJ Mike » Logged


ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1660


What 'ya got there??


Re: Connection problems
« Reply #15 on: July 26, 2008, 09:18:28 AM »

It wasn't working in the morning either. At least 9 AM. Burt, you and I are in the same time zone.

You can see how I made it so that it can only read text files. I did that because I realized that if it could read a PHP file, you could get random lines of source code from it. It would be tedious but a hacker could source a whole script. Pays to be paranoid ;-)

Erv, lool what happens if you add php to the PHP opening tag:

<?php
session_start();
# only run when $url is set and ends in .txt
if ( isset($_GET[url]) && preg_match("#txt$#i", $_GET[url], $x) )
{
/*
List $url into an array.
Count members of the array.
Make a random number from 0 to (number of members -1)
Select random file from the array.
*/
$url = $_GET[url];
$array = file( "$url" );
$num = count($array);
$rand = rand(0, $num-1 );
$url = "$array[$rand]";

# send to browser
header("HTTP/1.1 301 Moved Permanently");
header("Location: $url");
exit();
}
# error message if $url is not set or not .txt
else
{
include("rand_inc.php");
}
?>

Yah, I was just going to say that Erv's was missing the php header "<?php". I'll look into it and see what I can come up with.

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
Erv
Mega ZboXian
***
Offline Offline

Posts: 57



Re: Connection problems
« Reply #16 on: July 26, 2008, 09:24:28 AM »

Mike--
I added the php

don't see any difference

try this one
the image loads most of the time ,,but the background took 6 refreshes

http://pdhomes.net/senior/erv/images/PHPimages.html
Logged
DJ Mike
Serious Poster
****
Offline Offline

Posts: 166



Re: Connection problems
« Reply #17 on: July 26, 2008, 09:34:34 AM »

Yah, I was just going to say that Erv's was missing the php header "<?php". I'll look into it and see what I can come up with.

Bert

Capricorn and as far as I know, Aris and Mig, can use PHP short tags. I meant adding the php for posting but I forgot to enclose it in phpbb code. Bah! How to explain phpbb code within a phpbb type forum?

Erv, substitute my parenthesis with square brackets:

(code)
<?php
# example code
?>
(/code)

The gang's all here, Lila just came on line too. Lila, you can use that instead of <<>.

Phone call interupted my post before I could get it out for you, Erv.
Logged


Erv
Mega ZboXian
***
Offline Offline

Posts: 57



Re: Connection problems
« Reply #18 on: July 26, 2008, 09:54:36 AM »

Mike-
I put the code and /code inside [  and }
and backgroundd an images wont load

I also c & p your just posted codes to another page and if i click on the page --
 I get this

Code:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pdhomes/public_html/senior/erv/php/randomize.php:2) in /home/pdhomes/public_html/senior/erv/php/randomize.php on line 3

Warning: include(rand_inc.php) [function.include]: failed to open stream: No such file or directory in /home/pdhomes/public_html/senior/erv/php/randomize.php on line 27

Warning: include(rand_inc.php) [function.include]: failed to open stream: No such file or directory in /home/pdhomes/public_html/senior/erv/php/randomize.php on line 27

Warning: include() [function.include]: Failed opening 'rand_inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pdhomes/public_html/senior/erv/php/randomize.php on line 27

Logged
DJ Mike
Serious Poster
****
Offline Offline

Posts: 166



Re: Connection problems
« Reply #19 on: July 26, 2008, 10:18:43 AM »

Erv: I meant when posting code in this forum not using it on a web page.

Bert: Whoa! It went from bad to worse to impossible. I was trying to make an example for Lila and instead of taking 5-10 tries, it was taking up to 100. Part way through it stopped working altogether. All my pages are now totally inaccesable.
Logged


ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1660


What 'ya got there??


Re: Connection problems
« Reply #20 on: July 26, 2008, 10:31:36 AM »

Erv: I meant when posting code in this forum not using it on a web page.

Bert: Whoa! It went from bad to worse to impossible. I was trying to make an example for Lila and instead of taking 5-10 tries, it was taking up to 100. Part way through it stopped working altogether. All my pages are now totally inaccesable.

Mike,
For now, until I can figure out what is causing the issue I would suggest not using it until then.

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1660


What 'ya got there??


Re: Connection problems
« Reply #21 on: July 26, 2008, 11:16:48 AM »

Hi Mike,
Seems Apache took a hit yesterday. While not enough of one to make it stop serving web pages, it did seem to not like the flavor of your script so therefore it wouldn't serve your web pages. I have restarted Apache and your site is now back. Erv's should be working now also.

~;-)

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
Erv
Mega ZboXian
***
Offline Offline

Posts: 57



Re: Connection problems
« Reply #22 on: July 26, 2008, 11:22:59 AM »

Bert-
mine looks good


~Erv

banana
Logged
Erv
Mega ZboXian
***
Offline Offline

Posts: 57



Re: Connection problems
« Reply #23 on: July 26, 2008, 11:30:04 AM »

Some of my pages don't load the background until I hit the refresh key


~Erv
Logged
Erv
Mega ZboXian
***
Offline Offline

Posts: 57



Re: Connection problems
« Reply #24 on: July 26, 2008, 11:37:28 AM »

Hi Bert-

Is this the same area of problem from back in April

Quoting you

"Seems one of our security programs rules was set a little too high. Better too high than too low. One of the reasons that I wanted to move to this provider is because of the security of their servers. They are locked down pretty tight. Maybe a little too tight for the Webtv/Deuce environment, but we'll get it sorted out. I'll let you know when we have this problem fixed.

Bert "
Logged
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  


Login with username, password and session length

ZboX Webhosting Est. 2003. Now in our Fifth year! | Powered by SMF 1.0.10.
© 2005, Simple Machines LLC. All Rights Reserved.
Page created in 0.179 seconds with 20 queries.