Page 1 of 3
ip loggs
Posted: Wed Sep 10, 2003 9:24 am
by BenCollo
could sume1 tell me if it is possible 4 wen sume1 logs onto ya site it loggs there ip pass and name and if possible how?[/b]
Posted: Wed Sep 10, 2003 9:27 am
by JayBird
what script(s) have you got at the moment?
could you show us?
Read this too before posting back
viewtopic.php?t=8815
Mark
Posted: Wed Sep 10, 2003 9:29 am
by BenCollo
ok ive red it could u now plese help me
Posted: Wed Sep 10, 2003 9:31 am
by JayBird
Bech100 wrote:what script(s) have you got at the moment?
could you show us?
Im trying to help, but it would be easier if you answered my questions.
Posted: Wed Sep 10, 2003 9:34 am
by BenCollo
i dont have n e scripts wa 1ns i need
Posted: Wed Sep 10, 2003 9:38 am
by JayBird
okay, people aren't gonna do your homework for you.
Find some login scripts (try
http://www.hotscripts.com) and have a bash yourself. If you run into difficulties, post back here, then we can try and help you.
People are more likely to help if you tried, even if you miserably failed.
Mark
Posted: Wed Sep 10, 2003 9:45 am
by jmarcv
BenCollo wrote:i dont have n e scripts wa 1ns i need
Jeez! If you are going to post in english, at least make it legible!
OK, look at the variable $REMOTE_ADDR which is the ip of the user. As for 'pass' and 'name' assuming you have them, log to where? File? Database? Ozone? Come on! Get a clue!
Posted: Wed Sep 10, 2003 9:49 am
by m3rajk
it would also help to drop the shorts like wen and sum1.
reason: not everyone on these boards knows english. especialy if you mispell the short, they wont necessarily pick up what you want., and may ignore you.
i'm fluent in english, and even i'm not sure what you mean by
wa 1ns
i know the rest is "i don't have any scripts" and "i need"
1ns makes no sense. if you mean ones, then why not 1s? it's like spelling out hiv and tagging an extra virus on the end of it there's no point to using the short if you're still spelling out the word
not just that, when you start using longer posts, seeing the script kiddie style of typing makes it annoying to read, at best.
and i don't beleive you read it... if you did, think about these points again:
- Start Here: http://www.catb.org/~esr/faqs/smart-questions.html
- Try a search first - Google, the PHP manual, the MySQL manual, Phuse and this forum are all good resources
- Write your question carefully, think about what you need to achieve and exactly what help you are looking for. (this applies to being able to get the information across to people in different countries too... some may not know english, or may have their browser set to translate... can it translate sum1?)
- Don't just post - 'This doesn't work' - tell us exactly what doesn't work and make sure to include any error messages you're getting.
the number of scripts you need to have depends on how many pages you want to make. some people will through many things into one page. like say all the functions they need for a site, then call that via includes to accomplish what needs to be accomplished on a particular page
Posted: Wed Sep 10, 2003 10:07 am
by BenCollo
lol looker m8 ill spell how i plz ok <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> all to do wid u all i wanted was a lill help coz i dont have a clue i just started today so <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> chill out gowd sume people r just pathetic wineing how people spell if u no wa it means who givs a fuk
Posted: Wed Sep 10, 2003 10:13 am
by JayBird
BenCollo wrote:... if u no wa it means who givs a fuk
Thats the whole point, not everyone knows what is means.
You've just started today? Okay, so your gonna learn a lot by getting us to do the work for you. Use google and the site i mentioned before to find a script that does roughly what you want and play around with it.
When you run into problems, thats when you post here.
Mark
Posted: Wed Sep 10, 2003 10:16 am
by BenCollo
yes ive allready dun thaand it messed up and summit went wrong wouldint show page or our so me bro's m8 fixed it
Posted: Wed Sep 10, 2003 10:17 am
by twigletmac
Basically if you want help you need to readjust your attitude, write in English and don't swear at forum members.
The basic message is - if people can't read your posts they can't help you, so continue using '133t txt speak' and you'll find your problem does not get solved.
Save that sort of abbreviated writing for your mobile phone and write your question in English. Just because you understand gobbledygook doesn't mean anyone else does, or wants to bother trying to translate it.
Mac
Re: ip loggs
Posted: Wed Sep 10, 2003 10:19 am
by Nay
BenCollo wrote:could sume1 tell me if it is possible 4 wen sume1 logs onto ya site it loggs there ip pass and name and if possible how?[/b]
yeah, it's possible. i think i'm nice enough to give you some info about ip logging since i've had my experiance. anyhow:
get ip with getenv['REMOTE_ADDR'];
then write it into an sql table or so.
well, that's the basic idea of it. and if you've just started learning php for the first time, i recommend you learn more first before doing this script.
-Nay
and ps: be professional enough to write formally, or at least with correct spelling. you don't have to be writing like shakesphere. lol, shakesphere is even harder for me to understand.
Posted: Wed Sep 10, 2003 10:32 am
by jmarcv
BenCollo wrote:lol looker m8 ill spell how i plz ok f**k all to do wid u all i wanted was a lill help coz i dont have a clue i just started today so f**king chill out gowd sume people r just pathetic wineing how people spell if u no wa it means who givs a fuk
I think the point was, alot of us don't know what it means. I started you on some help, so YOU chill out, dude, and get a clue.
Posted: Wed Sep 10, 2003 10:35 am
by JayBird
BenCollo wrote:yes ive allready dun thaand it messed up and summit went wrong wouldint show page or our so me bro's m8 fixed it
So why when i asked you what scripts you already had, you said you don't have any?
hmmmmm......