mIRC Home    About    Download    Register    News    Help

Print Thread
code for web site #194751 11/02/08 04:11 AM
Joined: Oct 2007
Posts: 102
B
bcancer Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Oct 2007
Posts: 102
Anyone have the code to shown IP and location of the user when they open my web page and send that info in a private window to my script?

Re: code for web site [Re: bcancer] #194771 11/02/08 05:30 PM
Joined: Jan 2004
Posts: 509
L
LostShadow Offline
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
That would require us to know your webpage and possibly for us to know your login and password assuming your site statistics are private.

Re: code for web site [Re: bcancer] #194794 11/02/08 10:02 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Basically, your website would have to track the data. Does it? Then you have to use sockets to retrieve the data on a timed basis (or manually). The socket would have to be set up to access the file the stats are in (including logging in if it's not public).


Invision Support
#Invision on irc.irchighway.net
Re: code for web site [Re: bcancer] #194826 12/02/08 03:36 AM
Joined: Jan 2004
Posts: 509
L
LostShadow Offline
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
Originally Posted By: bcancer
Anyone have the code to shown IP and location of the user when they open my web page


So basically to re-answer your question, since we don't know (or have) your webpage, then it would be meaningless to ask that, and so we don't have the code to a webpage we do not know about.

Now, maybe what you requested may have a point if we somehow knew what webpage you were talking about. We would look in your profile. And under your homepage, there is no website. So therefore we would have to *try* to stalk you up a bit in order to find your webpage. Since you don't have it in your profile - I find it almost 100% meaningless to even request. I mean, you need to give us the hint that we could retrieve your website without us asking, such as leaving it in your signature or profile...

But that isn't the case.

-Neal.

Re: code for web site [Re: LostShadow] #194850 12/02/08 08:42 PM
Joined: Oct 2007
Posts: 102
B
bcancer Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Oct 2007
Posts: 102
Ya am using TDStats on my web site. I just wanted to see visitors ip and location that visit or downloads from my web site so its no big deal thx anyway.

Re: code for web site [Re: bcancer] #194859 12/02/08 11:20 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
As I mentioned, it's possible using the method given. It would not be possible to give you a working script without additional details, of course.


Invision Support
#Invision on irc.irchighway.net
Re: code for web site [Re: bcancer] #194893 13/02/08 08:06 PM
Joined: Jan 2004
Posts: 509
L
LostShadow Offline
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
Originally Posted By: bcancer
Ya am using TDStats on my web site. I just wanted to see visitors ip and location that visit or downloads from my web site so its no big deal thx anyway.


What website?

Re: code for web site [Re: LostShadow] #194894 13/02/08 08:06 PM
Joined: Jan 2004
Posts: 509
L
LostShadow Offline
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
Oh - you meant *your* website.

I get it now.

How silly of me to ask.

-Neal.