Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Website Design/Showcase (http://www.chiefdelphi.com/forums/forumdisplay.php?f=64)
-   -   FIRST Topsite? (http://www.chiefdelphi.com/forums/showthread.php?t=35593)

Mike AA 04-03-2005 01:37

Re: FIRST Topsite?
 
Quote:

Originally Posted by Calvin
Ok thanks, I'll test it out. :)

Calvin, out of curiosity, what is this setup running on? Is it your own server or your team's? If it is yours could it possibly be that the computer simply cant handle it? Because as Brandon says a website thats running on others should run 99.9% of the time and can become a problem if it slows the other site down. I've not watched my usage so I cant say how mine is doing (although 19 isn't many hits). Please keep trying to make it better we all start somewhere and this is really a neat idea, neat ideas get book marked :)

-Mike

Babyhueyhnx 04-03-2005 01:52

Re: FIRST Topsite?
 
it appears to be running off of his team server in a subdirectory.

Calvin if you want i can host the site on one of my servers.
currently i have one empty server and one empty sql database.

Calvin 04-03-2005 03:15

Re: FIRST Topsite?
 
The website is hosted for free at f2o.org... The reason that the MySQL database was having problem was because f2o was moving all their "free" accounts to a new server. This week, they have been trying to get everything to properly work again and so sometimes the database would be turned off so they can repair or do something.

I'm thinking about just converting everything to txt files. txt files seem more reliable, then a database. :]

Quote:

Calvin if you want i can host the site on one of my servers.
Currently I have one empty server and one empty sql database.
I don't know, I don't want to kill your bandwidth.

Tim Arnold 04-03-2005 06:28

Re: FIRST Topsite?
 
Quote:

Originally Posted by Calvin
The website is hosted for free at f2o.org... The reason that the MySQL database was having problem was because f2o was moving all their "free" accounts to a new server. This week, they have been trying to get everything to properly work again and so sometimes the database would be turned off so they can repair or do something.

I'm thinking about just converting everything to txt files. txt files seem more reliable, then a database. :]


I don't know, I don't want to kill your bandwidth.

Ouch. I don't know if txt is a good idea, but I suppose we will see!

Phil, is this a dedicated server, or just an account? What type of connection are you running?

Calvin, what type of bandwidth are we talking about? The buttons aren't that large of files, and I couldn't imagine that it would use more than a gig of bandwidth on normal use.

If Phil has a dedicated server available to donate, go with that, but if you still are looking, I have a reseller account from surpasshosting.com which runs my team site. Its a reseller account though so its intended to run multiple domains and the like. I could offer somewhere around 5 gigs of bandwidth and 500MB-1Gig of space (I would give more, but through the reseller control panel you set how much space each website is allocated. It doesn't let you use that space for anything else besides that account.)

Good luck

Babyhueyhnx 04-03-2005 09:23

Re: FIRST Topsite?
 
the server that i would be using is an account. the server i run the 486 website from is an identical account (identical in features) and work extremely well. i also run a third as a test server. servers are all run by 1and1. Currently i have a calendar, forum and news all running out of one sql. i havent experienced any problems

Server storage limit is 500meg
Sql DB limit is 100meg. (this should be large enough)
Bandwidth i beleive is 2 gb

Brandon Martus 04-03-2005 09:57

Re: FIRST Topsite?
 
Quote:

Originally Posted by Calvin
I'm thinking about just converting everything to txt files. txt files seem more reliable, then a database. :]

Please tell me the logo smiley was meant to indicate that you were joking. :)

DarkJedi613 04-03-2005 17:05

Re: FIRST Topsite?
 
Quote:

Originally Posted by Brandon Martus
Please tell me the logo smiley was meant to indicate that you were joking. :)

I prefer flat file databases over mysql databases ;) no seriously though...

anyway - how did you eventually decide to arrange them? it looks nice too :ahh:

Calvin 04-03-2005 18:34

Re: FIRST Topsite?
 
Quote:

Please tell me the logo smiley was meant to indicate that you were joking.
I have actually created a whole "forum" based on txt files, it's in test mode now. It was put aside because I had joined the franklin robotics team and had no time to work on it.

You can see it here:
http://snowshoe.f2o.org/cubeitTEST/forum.php
Run 100% on txt files.

Brandon Martus 04-03-2005 21:42

Re: FIRST Topsite?
 
Quote:

Originally Posted by Calvin
I have actually created a whole "forum" based on txt files, it's in test mode now. It was put aside because I had joined the franklin robotics team and had no time to work on it.

You can see it here:
http://snowshoe.f2o.org/cubeitTEST/forum.php
Run 100% on txt files.

We used to use a really old version of wwwboard, which is perl & file based .. after we got larger than 20-30 users, it started to have major issues with file locking and other related problems. (stuff mysql handles automagically)

AIBob 04-03-2005 22:12

Re: FIRST Topsite?
 
I use a combination of files and databases on my website, the databases work a lot faster, I see no reason not to use them, they are very simple to do and much faster...
...also they are more secure, they do not put your website available for change by anyone that is hosted by the same server.

Calvin 05-03-2005 03:08

Re: FIRST Topsite?
 
Everything seems to work fine now, and we have 19 members! :yikes: Once we reach 25 I'll be adding a search engine. Any other suggestions?

lookslikeapuma 05-03-2005 19:26

Re: FIRST Topsite?
 
well for the "cheating issue" I'd say go ahead and record all ratings via a mysql database, because all a user has to do is disable cookies (easy thing to do on firefox) and they can repeatedly vote (I've tried it, It works :), you may deduct a 10 point vote from team1039.org). There are ways of getting the "true IP" of a computer (if they are using a proxy), here's the one that I use (PHP):

function f_GetIP() { // Get the true IP of the user, runs through various methods of getting the IP
if (isSet($_SERVER)) {
if (isSet($_SERVER["HTTP_X_FORWARDED_FOR"])) {
$realip = $_SERVER["HTTP_X_FORWARDED_FOR"];
} elseif (isSet($_SERVER["HTTP_CLIENT_IP"])) {
$realip = $_SERVER["HTTP_CLIENT_IP"];
} else {
$realip = $_SERVER["REMOTE_ADDR"];
}
} else {
if ( getenv( 'HTTP_X_FORWARDED_FOR' ) ) {
$realip = getenv( 'HTTP_X_FORWARDED_FOR' );
} elseif ( getenv( 'HTTP_CLIENT_IP' ) ) {
$realip = getenv( 'HTTP_CLIENT_IP' );
} else {
$realip = getenv( 'REMOTE_ADDR' );
}
}
return $realip; // Return the IP.
}

Calvin 06-03-2005 14:31

Re: FIRST Topsite?
 
Quote:

Originally Posted by lookslikeapuma
well for the "cheating issue" I'd say go ahead and record all ratings via a mysql database, because all a user has to do is disable cookies (easy thing to do on firefox) and they can repeatedly vote (I've tried it, It works :), you may deduct a 10 point vote from team1039.org).

OK, thanks for the info... Have you tried cheating with hits?

AIBob 06-03-2005 14:51

Re: FIRST Topsite?
 
Quote:

Originally Posted by lookslikeapuma
function f_GetIP() { // Get the true IP of the user, runs through various methods of getting the IP
if (isSet($_SERVER)) {
if (isSet($_SERVER["HTTP_X_FORWARDED_FOR"])) {
$realip = $_SERVER["HTTP_X_FORWARDED_FOR"];
} elseif (isSet($_SERVER["HTTP_CLIENT_IP"])) {
$realip = $_SERVER["HTTP_CLIENT_IP"];
} else {
$realip = $_SERVER["REMOTE_ADDR"];
}
} else {
if ( getenv( 'HTTP_X_FORWARDED_FOR' ) ) {
$realip = getenv( 'HTTP_X_FORWARDED_FOR' );
} elseif ( getenv( 'HTTP_CLIENT_IP' ) ) {
$realip = getenv( 'HTTP_CLIENT_IP' );
} else {
$realip = getenv( 'REMOTE_ADDR' );
}
}
return $realip; // Return the IP.
}

Although this is a good idea, I tested five proxy servers, and none of them sent the HTTP_CLIENT_IP or the HTTP_X_FORWARDED_FOR... (They are anonymous proxies though...)
I would still recommending you do something like this though Calvin, because you should take many precaussions

Tim Arnold 07-03-2005 19:35

Re: FIRST Topsite?
 
Down again? Wow. I wonder if it would be possible to mask the icon with one hosted locally - as long as its the correct ranking?


All times are GMT -5. The time now is 21:27.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi