wait 10 second after regsitration

Started on the old forum in July 2009 · view the original in the archive · old links redirect here

29 replies · 997 views · started 17 years ago · 1 min read

8 participants
bijaybd Developer · 178 posts #1

i have searched a lot but didn't find anything as i know javascript don't supported by mobile phones so how to do it like in the same page

username: password: wait=10 seconds after 10 seconds { enter } like the enter chat button will show after 10 seconds after the registration.

if its needed i will explain it again.

cs.spot123 Junior · 27 posts #2
<meta http-equiv="Refresh" content="10;URL= http://sitename.com" />
cs.spot123 Junior · 27 posts #4

i guess he wants to add tat in lavalair login page...

yoursite.com/login.php?username=csads&pass=asadd

Click Here to Login Or Wait For 5 Seconds You'll Be taken to main page in 5 Seconds

bijaybd Developer · 178 posts #5

cs.spot123 wrote: i guess he wants to add tat in lavalair login page...

yoursite.com/login.php?username=csads&pass=asadd

Click Here to Login Or Wait For 5 Seconds You'll Be taken to main page in 5 Seconds

you are right but not like that affter registration click here to login this button will come after waiting 10 seconds like after registration people can not enter before 10 seconds .... again let me explain it....

registertration page.

fill all fields

after click registration.

your registration done your username and password is: username: name passworod : passs

click here to login or enter when people click on click here to login or enter it enter the main page right i want the button will show after 10 seconds like

first it will only show username : password : after 10 seconds : click here to login

kiLLeR-eyEd_14 Senior · 382 posts #6

bijaybd wrote: i have searched a lot but didn't find anything as i know javascript don't supported by mobile phones so how to do it like in the same page

username: password: wait=10 seconds after 10 seconds { enter } like the enter chat button will show after 10 seconds after the registration.

if its needed i will explain it again.

lol.,why do u need to do that..for what?It's only 10 seconds..If it's something like 1hr yeh i can think there's a sense..Maybe while he is loading the page, the 10 seconds have past already..But let me try it..

$timereg = mysql_fetch_array(mysql_query("SELECT regdate FROM ibwf_users WHERE name='".$uid."'")); $time = time(); $timeout = timereg[0] + 10; if($timeout>$time) { echo "wait for 10 seconds before entering"; }else{ echo "welcome"; }

CreativityKills Lead · 833 posts #7

dnt make sense stil, btw, u'd avta use meta 2 refresh d page anyway. If it was a pc site, i cud give u an ajax code 4 dat, but ajax dnt work on mobile so i suggest u stuff dat idea. Its wack.

bijaybd Developer · 178 posts #8

i am getting huge spams and flooding so for that reason i need it as my staff get pvt when a user register so with in 10 second they can check the private message and can ban the nick thats why i need that function ... i know how to do that in javascript but javascript will not going to support in wml i think sorry for my bad english

shad0w Developer · 119 posts #9

What?? How can a user spam or flod if he registered 10 seconds ago ... I don't understand what u want 2 do and why ...

whatmp3.name - search mp3 on mobile

bijaybd Developer · 178 posts #10

let me explain it to you .... when the 10 second waiting after registration the staff will get private message that the user sign up so with in this 1 seconds the staff will able to ban him so... but now users are signing up and entering and flooding spamming and it is taking time to ban them so it is creating problem ..... so i thought after registration if the user have to wait for 10 second to enter ... then the staff will able to ban him after checking the details..... on the other hand i also added user can not register by same browser and ip of the last user registered . but still its not working they are changing browser i dont know why they are so fast and they even doing this all the day long

kiLLeR-eyEd_14 Senior · 382 posts #11

bijaybd wrote: let me explain it to you .... when the 10 second waiting after registration the staff will get private message that the user sign up so with in this 1 seconds the staff will able to ban him so... but now users are signing up and entering and flooding spamming and it is taking time to ban them so it is creating problem ..... so i thought after registration if the user have to wait for 10 second to enter ... then the staff will able to ban him after checking the details..... on the other hand i also added user can not register by same browser and ip of the last user registered . but still its not working they are changing browser i dont know why they are so fast and they even doing this all the day long

try my previous post.,i edited it.,sorry, it's wrong before..

ranzit2 Developer · 187 posts #12

I think u should code something like when a user register he should be auto validated after 20 sec. For 20 second the msg should come that u are not being validated yet.it will stop spamming..i think they change ip by disconneting and connecting again.my ip changes everytime i connect.

she is beautifull than php.and i love her more than php.

bijaybd Developer · 178 posts #13

yes thats what i want.....yes and that problem mostly occur because of operamini so is there any way to get the real browser and ip from operamini

kiLLeR-eyEd_14 Senior · 382 posts #14

bijaybd wrote: yes thats what i want.....yes and that problem mostly occur because of operamini so is there any way to get the real browser and ip from operamini

eto getrealip q,

try to use this: function getrealip() { if (!empty($_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } elseif (!empty($_SERVER['REMOTE_ADDR'])) { $ip = $_SERVER['REMOTE_ADDR']; }else{ $ip = "Unknown"; } if(strpos($ip,",")) { $exp_ip = explode(",",$ip); $ip = $exp_ip[0]; } return $ip; }

shad0w Developer · 119 posts #15

So ... You want something like this?

// index.php
If (isregistered20secago($sid))
{
echo "Please wait 10 secs and you will be validated";
}else{
UPDATE Browser etc ..
}

I don't really understand what is your problem ... If I did, maybe I would be able to help you

whatmp3.name - search mp3 on mobile

bijaybd Developer · 178 posts #16

shad0w wrote: So ... You want something like this?

// index.php
If (isregistered20secago($sid))
{
echo "Please wait 10 secs and you will be validated";
}else{
UPDATE Browser etc ..
}

I don't really understand what is your problem ... If I did, maybe I would be able to help you

yes after a user regsiter he need to wait 10 seconds for validating account. it will count in the page 10 9 8 7 6 5 4 3 2 1 and when the count come to 0 the user will redirect to the main page autometically but without waiting 10 seconds the user will not able to enter the main page or example

right now when a user register it shows in my page :

username : passowrd :

CLICK HERE TO ENTER

i want like

Username : username Password : password

count 9 8 7 6 5 4 3 2 1 0

when it comes to 0 then it will show CLICK HERE TO ENTER

i hope i make everyone understand this time

shad0w Developer · 119 posts #17

Don't u have validation system ?? And why don't you want that the user to entrr main page ?? How do u know if he is a spammer ?? If he enters the main page what can he do so u don't know if he is spammer ??

10 Seconds from the time he registered he must not be able to enter to main page right ?

whatmp3.name - search mp3 on mobile

shad0w Developer · 119 posts #18

How do u know who is spammer ? If he enters the main page he can change browser ??

whatmp3.name - search mp3 on mobile

bijaybd Developer · 178 posts #19

i will know bcz they do mass registration by this way i can only stop them

CreativityKills Lead · 833 posts #20

Mass registration? Set a goddamn cookie on their browser. Duh.

session_start(); //add dis with the canreg function if(!canreg()||isset($_COOKIE['registeredBefore'])){ //echo "YOU CANT REGISTER. IF YOU HAVE REGISTERED IN LAST 10MINUTES PLEASE WAIT FOR TEN MINUTES B4 TRYING AGAIN"; }

//add this in registration complete $tm = time() + (10*60); setcookie("registeredBefore","yup",$tm);

NOTE:Simply clearing cookies will get rid of this but u just have to pray ur spammers are idiots.

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close