18+ registration

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

4 replies · 455 views · started 17 years ago · 1 min read

4 participants
riderz Lead · 975 posts #1

Who can help me i want to add a code so only members that are 18+ can enter the site if they are not 18 it will kick them out of site with msg say they not old enough to enter the site


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

dominik92r Junior · 38 posts #2

for wapdesirev2

}else if(getage($year."-".$month."-".$day)<18){
$main.="<img src=\"./images/error.gif\" alt=\"x\"/><br/>Error You Must Be 15+ To Join Here<br/>
<br/>
<a href=\"./index.php\">Exit</a>
</p>\n";
riderz Lead · 975 posts #3

I have lava methos where would i place that code?


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

kei_ki7 Senior · 431 posts #5

kiLLeR-eyEd_14 wrote: u must b 15+?hehe..or 18+

..i think he's using numpad =)

Did I help you? You can help me too Your donations will help me finance my studies.

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