• Welcome to Valhalla Legends Archive.
 

Stats to web..

Started by pileofcrap, February 28, 2003, 06:11 PM

Previous topic - Next topic

Atom

#15
Plz dont say box, you sound like you hump linux cd's.

Now back to answering your question, you said you rent space from bla bla bla. If your host doesnt provide php, simply move hosts cuz thats really the standard and if they dont have that its pathetic on their part.
I am back! aINC is dead, ThinkTank PRO is alive.
VB, JAVA, ASM, C, its all yummy to me.

pileofcrap

#16
uhhh why couldnt I just make a bot that would output all the stats onto one page (something.html) then setup up a webserver on my PC and just have a link going from my page to it??

iago

#17
Quoteuhhh why couldnt I just make a bot that would output all the stats onto one page (something.html) then setup up a webserver on my PC and just have a link going from my page to it??

Of course you can do that! But setting up a webserver isn't terribly easy, it'll eat up your bandwidth (yum!) and you'll have to leave your computer turned on for that.  Also, you will need a dynamic dns (like www.no-ip.com) unless you have a totally static ip.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


pileofcrap

Lol, I have already taken all that into consideration. Ive setup small webservers on my PC before, just for small websites that I use to run;)..... also I have this OLD 486 (and it still runs, lol) that I could set it up on since thats all it would be doing.




OR BETTER YET!!!!
this may be either really hard or impossible, but couldnt I setup the bot so that when it has a new set of stats that it can logon to a designated ftp dir on my website and upload it from there?

iago

#19
Quotethis may be either really hard or impossible, but couldnt I setup the bot so that when it has a new set of stats that it can logon to a designated ftp dir on my website and upload it from there?

Yes, that's exactly what I said (MORE THAN ONCE).  Please, read what I say before replying :P
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Skywing

#20
Quoteuhhh why couldnt I just make a bot that would output all the stats onto one page (something.html) then setup up a webserver on my PC and just have a link going from my page to it??
What if you're trying to upload it at the same time as a user is trying to view it?  Enjoy stuff breaking due to sharing violations.

pileofcrap@school

#21
iago, i actually dont even remember you saying that at all.

Skywing, nah I mean it will output stats at regular intervals. (ex. 10 minutes)

pileofcrap@school

#22
I would login but my college is weird about stuff like that, I think...

anyway...

iago, i seen it now. I went back to look. I think the way you were putting it is more complicated than it had to be. like saying how display it on the html. Lol =)

its cool tho, thanx for the advice all ;)

Skywing

Quoteiago, i actually dont even remember you saying that at all.

Skywing, nah I mean it will output stats at regular intervals. (ex. 10 minutes)
And that changes the fact that you'll get sharing violations which will either block the upload or block people from browsing your site how...?

Consider the possibility that your site gets really popular.  If there are lots of visitors, you'll have a hard time writing to a file locked with read access by the webserver.

iago

#24
Well, he can upload it with a different filename then rename it.  That would make the quickest transition.  Or, he can write to a file that is referenced by a script.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


pileofcrap

shit I didnt think about that. But It would only do that if it was loading for someone THAT instant. I know its a possiblity but still there is a chance of that happening for anything. Also I dont exaclty think web languages work like that. I dont think that it wouldnt load the file just b/c someone else is viewing it. Once the page is loaded its done and you can do whatever. Itll just be text so it isnt like its gonna take more than 1 second to load.


And iago, thats a good idea but I wont be uploading anything. The bot will dump the file out somewhere and the kids visiting my site will click a link that basicly goes back to my server.

Skywing

#26
QuoteWell, he can upload it with a different filename then rename it.  That would make the quickest transition.  Or, he can write to a file that is referenced by a script.
Writing to a file referenced by a script would probably cause the same problem.  Renaming it would only work well if the webserver's OS supports renaming a file while it's already open (WinNT/Win2K/WinXP let you do this with image-mapped sections).

Skywing

#27
Quoteshit I didnt think about that. But It would only do that if it was loading for someone THAT instant. I know its a possiblity but still there is a chance of that happening for anything. Also I dont exaclty think web languages work like that. I dont think that it wouldnt load the file just b/c someone else is viewing it. Once the page is loaded its done and you can do whatever. Itll just be text so it isnt like its gonna take more than 1 second to load.


And iago, thats a good idea but I wont be uploading anything. The bot will dump the file out somewhere and the kids visiting my site will click a link that basicly goes back to my server.
Yes, it'll probably work most of the time now, but what happens later when you've got something that's used frequently, like my BinaryChatISAPI program became?

pile@school

#28
yeah I get what you are saying. Let me ponder it a bit and ill see exactly what I can do. Ill also ask my programming teacher for some advice on what he thinks I should do. Even tho he perfers ASM and JAVA over VB . lol

warz

#29
pileofcrap - your name suits you well, but it'd be even better if you changed crap to shit.

|