• Welcome to Valhalla Legends Archive.
 

Inet Help

Started by Networks, April 12, 2004, 05:52 PM

Previous topic - Next topic

Networks

lol...okie dokie then thats fair ;)

Networks

Is there any simple way to log anything with inet?

CrAz3D

Quote from: Networks on April 16, 2004, 08:55 AM
Is there any simple way to log anything with inet?
<?
$td = date("F jS");
   $ip = $REMOTE_ADDR; // Set the variable as their ip address
   $fh = fopen("iplog.htm",'a+'); // Open the text file and tell it to add
   fputs($fh, "$ip : $td<br>"); // Add the ip address onto the next line
   fclose($fh); // Close the text file

?>


That would log the IP of the user accessing that "page"
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

Eli_1

#18
Quote from: Networks on April 16, 2004, 08:55 AM
Is there any simple way to log anything with inet?
1.) This is the Visual Basic Programming forum.
2.) He want's to know if you can do it using Microsoft's Internet Transfer control, as stated more than once in the thread.

CrAz3D

I guess if ALL of my posts were read my last would make more sense.

(VB Project)
Inet1.Execute "http://WHAT EVER/log.php"


(log.php)
<?
$td = date("F jS");
   $ip = $REMOTE_ADDR; // Set the variable as their ip address
   $fh = fopen("iplog.htm",'a+'); // Open the text file and tell it to add
   fputs($fh, "$ip : $td<br>"); // Add the ip address onto the next line
   fclose($fh); // Close the text file

?>
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

FuzZ

I didn't feel like reading all those posts.
I do this as well
http://www.bloodynub.com/botlists/showbots.php

I use a simple get method through PHP which is probably going to have to be changed due to the interpretation of "+" by PHP as a space.

But, It's pretty simple if you don't want a response to the bot
just inet.execute "UrL", "method"

Stealth or someone posted this or I wouldn't have been able to do it.

If you want my PHP Script I'd be glad to donate it, just don't make fun of my crappy PHP Coding :P

(Note: uses a MySQL database.)

Networks

I want anything like that but I dont really want it using a MySQL DB if its possible =\

FuzZ

#22
Well, if you know any PHP you might be able to get the basic idea behind it, let me go zip it up and I'll edit the post with it.

Edit-> http://www.bloodynub.com/files/index.php?dir=bnet/bots/development/&file=botdisplay.zip

Contents: showbots.php, addbot.php, bots.css, include.php (For MySQL)

dodge

Grok: just asking.. don't like php? That sucks becuase thats what i use  ??? lol