Think Visualizer and expand your options
 
Visualizer Navigator 
   Home | Keep up with the news | The Photo FX tour | Photo FX Bookmark and Share

Go Back   Visualizer Forums > Visualizer Online Learning > Web design and Scripting
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
Old 11-03-2004, 01:43 AM   #1
CaptainKoala
Senior Member
 
CaptainKoala's Avatar
 
Join Date: Feb 2004
Location: land of the foobar
Posts: 381
Send a message via AIM to CaptainKoala Send a message via MSN to CaptainKoala

my photo blog, by CaptainKoala
Default

This = woo. Great job, Darren .
__________________
#!/usr/bin/env python

import webbrowser

webbrowser.open('http://www.captainkoala.com/')
# general quackery with a point
CaptainKoala is offline  Live RSS Feed from my photo blog   Reply With Quote
Old 11-03-2004, 01:45 AM   #2
Darren
VIG, Project Manager
 
Darren's Avatar
 
Join Date: Aug 2004
Location: US of A
Posts: 1,861

my photo blog, by Darren
Default

Thanks Cpt. - much appreciated
__________________
Project manager
Visualizer Image Group


"Don't judge yourself on how far you have come,
It's better to get somewhere than nowhere"
Darren is offline  Live RSS Feed from my photo blog   Reply With Quote
Old 11-05-2004, 10:20 AM   #3
MorphuX
Senior Member
 
MorphuX's Avatar
 
Join Date: Sep 2003
Location: Connecticut, USA
Posts: 482
Send a message via AIM to MorphuX

Default

This looks pretty cool Darren. I am going to check it out and see what i can do with. Tnx for making more great stuff.
__________________


There are 10 types of people in the world today;
those that understand binary, and those that dont.
MorphuX is offline   Reply With Quote
Old 12-15-2004, 07:15 PM   #4
Darren
VIG, Project Manager
 
Darren's Avatar
 
Join Date: Aug 2004
Location: US of A
Posts: 1,861

my photo blog, by Darren
Default

The IP Tracker reads the login information from the config.inc.php file:

PHP Code:
 $LOGIN "name";
$PASSWORD "pass"


and should work.

The IP Tracker needs to be edited (ip.php).

PHP Code:
 $privacy  "http://www.your_server.com/privacy/";
$filename "/home/your_server/public_html/iptrack/log.dat";
$ipdat "/home/your_server/public_html/iptrack/ip.dat";
$ipblock "/home/your_server/public_html/iptrack/block.dat";
$imagepath "/home/your_server/public_html/iptrack/ipimg/"


Once you have edited the settings and uploaded the files, CHMOD the *.dat files to 777. Point your browser the to the admin.php, i.e.
http://www.your_server.com/iptrack/admin.php

If this doesn't work for your server, you can remove the login script from the admin.php line 12-16

PHP Code:
 if ( (!isset($PHP_AUTH_USER)) || ! (($PHP_AUTH_USER == $LOGIN) && ( $PHP_AUTH_PW == "$PASSWORD" )) ) {
    
header("WWW-Authenticate: Basic entrer=\"VIG IP Tracking Admin\"");
    
header("HTTP/1.0 401 Unauthorized");
    
error("Unauthorized access...");



I hope this helps.
__________________
Project manager
Visualizer Image Group


"Don't judge yourself on how far you have come,
It's better to get somewhere than nowhere"
Darren is offline  Live RSS Feed from my photo blog   Reply With Quote
Old 06-09-2005, 05:02 PM   #5
CaptainKoala
Senior Member
 
CaptainKoala's Avatar
 
Join Date: Feb 2004
Location: land of the foobar
Posts: 381
Send a message via AIM to CaptainKoala Send a message via MSN to CaptainKoala

my photo blog, by CaptainKoala
Default

Try putting the include string before ANY other content on the page (before any HTML or ANY whitespace (empty lines)). That may do it.
__________________
#!/usr/bin/env python

import webbrowser

webbrowser.open('http://www.captainkoala.com/')
# general quackery with a point
CaptainKoala is offline  Live RSS Feed from my photo blog   Reply With Quote
Old 02-15-2006, 07:12 PM   #6
Hermit
Junior Member
 
Hermit's Avatar
 
Join Date: Feb 2006
Location: U.S.A., Ohio
Posts: 8

Default More Info

Really nice script, thank you for making it open source.
The more info link takes you to ripe.net.
I would rather go to arin.net.
I changed the address in the admin file to do this but the unique IP address dosn't show up in the form at arin.net like it does at ripe.net can anyone help me fix this?
Hermit is offline   Reply With Quote
Old 02-16-2006, 05:46 AM   #7
CaptainKoala
Senior Member
 
CaptainKoala's Avatar
 
Join Date: Feb 2004
Location: land of the foobar
Posts: 381
Send a message via AIM to CaptainKoala Send a message via MSN to CaptainKoala

my photo blog, by CaptainKoala
Default

I do believe changing line 273 of admin.php to the following will do the trick, unless of course this is what you have done, in which case I couldn't help you.

PHP Code:
 $ip "<a href=\"http://ws.arin.net/whois/?queryinput=".$reOut[$i]."\" target=\"_blank\">"
__________________
#!/usr/bin/env python

import webbrowser

webbrowser.open('http://www.captainkoala.com/')
# general quackery with a point

Last edited by CaptainKoala : 02-16-2006 at 06:26 AM.
CaptainKoala is offline  Live RSS Feed from my photo blog   Reply With Quote
Old 02-16-2006, 10:03 PM   #8
Hermit
Junior Member
 
Hermit's Avatar
 
Join Date: Feb 2006
Location: U.S.A., Ohio
Posts: 8

Default It worked great

It worked great, thank you very much CaptainKoala!!!.
Hermit is offline   Reply With Quote
Old 07-17-2006, 01:02 AM   #9
odiconstoy
Junior Member
 
Join Date: Jul 2006
Posts: 2

Default what's the privacy?

What's $privacy in ip.php for? And what do you put for it? :3
odiconstoy is offline   Reply With Quote
Old 07-17-2006, 01:19 AM   #10
CaptainKoala
Senior Member
 
CaptainKoala's Avatar
 
Join Date: Feb 2004
Location: land of the foobar
Posts: 381
Send a message via AIM to CaptainKoala Send a message via MSN to CaptainKoala

my photo blog, by CaptainKoala
Default

My guess is that it is a URL to your website's privacy policy, but I don't know.
__________________
#!/usr/bin/env python

import webbrowser

webbrowser.open('http://www.captainkoala.com/')
# general quackery with a point
CaptainKoala is offline  Live RSS Feed from my photo blog   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT. The time now is 05:55 AM.



Copyright © 2002-2006 Visualizer Image Group.