View Full Version : ip-adress


LadyLuck
04-08-2004, 02:34 PM
hi folks,

i´m just looking for a possibility to save the ip-adress of users (users who want to register themselves) in the users.dat file.

any ideas?


TIA
LadyLuck
______________________
**great programm, isn´t it**

LadyLuck
04-15-2004, 01:39 AM
hi folks,

isn´t there anybody who got any idea on how to save the ip-adress of subscribers into the dat-file or something else?

What about a possibility to add a form field into the register-section for subscribers to let them mark if they want to receive a newsletter or something like that? It´s not the form-field that´s diffcult to add but the possibility to store those information too into the dat-file ;(

I´d be really glad if any of you guys (and girls) have an idea.

Greetings
LadyLuck
______________________________
: : when Robin came tae play : :

Jeff Mott
04-30-2004, 06:23 PM
You can retrieve the IP address with $ENV{REMOTE_ADDR}. As for getting this value into the dat file, you're going to have to be more specific. What is *the* dat file? What is the format of the DB and/or what script are you using?

LadyLuck
05-03-2004, 07:00 PM
Hi Jeff,

sorry I forgot the name of the program I use - it´s alumnipro.
This program doesn´t use a db - but it sends the ip-adress right to everyone answering to any post. So to my mind there must be a possibility to save the ip-adress into the text file (a *.dat-file) as well as the other information just like name, email-adress etc.

If you´ve got any idea, I´ll be glad to try it :)


TIA