Need A Urgent Help Again Please Help Me

Started on the old forum in May 2008 · view the original in the archive · old links redirect here

18 replies · 1,275 views · started 18 years ago · 1 min read

8 participants
bijaybd Developer · 178 posts #1

in my room some people are useing operamini and registering ...... like this nick ::::

madarchod_bainchod_putkichoda_dhoner_po_vodamarani_rendy_magi_chotmarani_mandar_ o_chotmaranir_po_hoga_haowar_po_chudir_vai_guder_magi_dhon_chosa_chater_bal_putk chodanir_pola_punger_baccha_madarchod_bainchod_putkichoda_dhoner_po_vodamarani endy_magi_chotmarani_mandar_po_chotmaranir_po_hoga_haowar_po_chudir_vai_guder_ma i_dhon_chosa_chater_bal_putki_chodanir_pola_punger_baccha_madarchod_bainchod_put ichoda_dhoner_po_vodamarani_rendy_magi_chotmarani_mandar_po_chotmaranir_po_hoga_ aowar_po_chudir_vai_guder_magi_dhon_chosa_chater_bal_putki_chodanir_pola_punger_ accha_madarchod_bainchod_putkichoda_dhoner_po_vodamarani_rendy_magi_chotmarani_m ndar_po_chotmaranir_po_hoga_haowar_po_chudir_vai_guder_magi_dhon_chosa_chater_ba putki_chodanir_pola_punger_baccha_

1000 of charctors of nick.

echo "Username: <input name="nimi" type="text" format="*x" maxlength="10" emptyok="true"/> ";

this is coded in register page :

maxlength = 10

but from operamini flooder is taking 1000 nicks please help me on that

WhiteWarrior Principal · 1,419 posts #2

Would help you but your have to explane it a bit better because i couldn't really understand that

amylee Principal · 1,092 posts #3

think he wants to know how to limit the nimber of characters allowed for a username

Guest #4
if(strlen($nimi)>10) {echo "Username must be 10 characters or less
"} else {echo "register code here"}

This code sould do the trick now users cant register a name longer then 10 characters External image (may be gone)

bijaybd Developer · 178 posts #5

ok tommie thanks brother let me try this one hope it will work lets see

bijaybd Developer · 178 posts #6

here is the code that i put ----

if(strlen($nimi)>10) {echo "Username must be 10 characters or less "} else {echo "Username: <input name="nimi" type="text" format="*x" maxlength="10" emptyok="true"/> "}

but it won't work

Parse error: syntax error, unexpected '}', expecting ',' or ';' in /home/rockbdin/main/luonti2.php on line 26

then i put ----

if(strlen($nimi)>10) { echo "Username must be 10 characters or less "; } else { echo "Username: <input name="nimi" type="text" format="*x" maxlength="10" emptyok="true"/> "; }

its works and don't give any error but it don't work on the strlen one even now people can register more then 10 charactor so guys plz help me on this i will be really thank full to you all

Guest #7

lol the code sould be on the register code page not on the register form or else it wont work because inserted the code the wrong way

bijaybd Developer · 178 posts #8

ok brother what i should put in this line : {echo "register code here"}

Guest #9

u sould put the insert into database code there

$reg = mysql_query("INSERT INTO mxit SET nick='".$nick."', number='".$num."',race='".$race."', age='".$bday."', sex='".$sex."', area='".$uloc."', regdate='".time()."', ipadd='".getip()."', browserm='".$ubr."',about='".$abt."'");

note not this code ur own code

bijaybd Developer · 178 posts #10

brother mobile chat by ghost do not have any database it saves all data in .txt formats

if i put like this :

if (strlen($nimi)>10) {echo "Username must be 10 characters or less "} else {echo "register code here"} if ($salasana !='' && $nimi !='') { if ($logo=="http://" OR $logo==""){$logo="../images/logo.gif";} if ($site=="" OR $site==""){$site="not set";} if ($name==""){$name="not set";} if ($email=="@" OR $email==""){$email="not set";} if ($age==""){$age="not set";} if ($sex==""){$sex="not set";} if ($location==""){$location="not set";} if ($signiture==""){$signiture="not set";} $date = date("d/m/Y");

$member = "../members/$nimi.txt"; $membersinfo = fopen($member, "w+"); fwrite($membersinfo, $logo."\n"); fwrite($membersinfo, $name."\n"); fwrite($membersinfo, $age."\n"); fwrite($membersinfo, $sex."\n"); fwrite($membersinfo, $location."\n"); fwrite($membersinfo, $signiture."\n"); fwrite($membersinfo, $site."\n"); fwrite($membersinfo, $email); fclose($membersinfo);

$tiedsal = fopen('../text/sals.txt', 'a'); $salasana = crypt($salasana,'password'); $lissal=$salasana.' '; fputs($tiedsal, $lissal); fclose($tiedsal);

$tiednim= fopen('../text/nims.txt', 'a'); $lisnim=$nimi.' '; fputs($tiednim, $lisnim); fclose($tiednim);

$tiednim= fopen('../text/profidate.txt', 'a'); $lisnim="$nimi::$date:: "; fputs($tiednim, $lisnim); fclose($tiednim); }

i can register from computer but not from mobile please help me on that

parse error!!

its showing this

PLZ GUYS HELP ME AS SOON AS POSSBILE

SpiderWap Lead · 622 posts #11

If you are talking about the old lavalair script, inbox me, i've got all the mods and addons for it and i'll help where i can

But i dont do anything for free anymore, so i would want some usefull script in return.

SpiderWap

bijaybd Developer · 178 posts #12

brother its not old lavair script the script is by ghost and devience mobile chat

subzero Super moderator Fellow · 3,954 posts #13
echo "[size="1"]Username:[/size]
<input name=\"nimi\" type=\"text\" format=\"*x\" maxlength=\"10\" emptyok=\"true\"/>
";

sign ups

$limit_size=10;
$nimi = $_GET["nimi"];
$nimi = $_POST["nimi"];
if($nimi >= $limit_size){
echo "

<p align=\"center\">";
echo "Your file size is over limit
";
echo "
Username limit is 10 so go back and try again if not good bye";
echo "</p>";
exit();
}

try that if not i will find away to do it or ask chris aka chatabox thats his script that posted here

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

bijaybd Developer · 178 posts #14

brother ,

where should i put this line -

sign ups

$limit_size=10; $nimi = $_GET["nimi"]; $nimi = $_POST["nimi"]; if($nimi >= $limit_size){ echo "

"; echo "Your file size is over limit "; echo " Username limit is 10 so go back and try again if not good bye"; echo " "; exit(); }

in lounti2.php or lounti.php

subzero Super moderator Fellow · 3,954 posts #15

when someone sign up try that

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

bijaybd Developer · 178 posts #16

brother also same thing happening to my chat page they come and write more 10000000 words in one line but maxlengh is 180 but they can write more then 10000 useing opera please help me on that

anderson Developer · 146 posts #17

u can block opera browsers. most of the chat sites doing it.

Wait...

ozziemale31 Lead · 861 posts #18

re

heres a demo to block internett explorer

<?php if (eregi("MSIE",getenv("HTTP_USER_AGENT")) || eregi("Internet Explorer",getenv("HTTP_USER_AGENT"))) { Header("Location: http://www.domain.com/ie_reject.html"); exit; } ?>

you could modify that to block opera

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

metulj Super moderator Principal · 1,726 posts #19

it's kind a useless to block browsers isnt it? unless browser is anonymous.org or such...

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

Write your reply now; next you create a free account (or sign in) and it is posted right away. 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