Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Sprawdzanie poprawności nr gg?
ali3n
post 30.06.2005, 16:10:37
Post #1





Grupa: Zarejestrowani
Postów: 28
Pomógł: 0
Dołączył: 30.06.2005

Ostrzeżenie: (0%)
-----


podajcie jakiś kod
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 4)
bela
post 30.06.2005, 16:13:34
Post #2


Administrator PHPedia.pl


Grupa: Developerzy
Postów: 1 102
Pomógł: 2
Dołączył: 14.09.2003

Ostrzeżenie: (0%)
-----


  1. <?php
  2. preg_match('/[0-9]{1-7}/', 'nr');
  3. ?>


--------------------
Go to the top of the page
+Quote Post
ali3n
post 30.06.2005, 16:24:34
Post #3





Grupa: Zarejestrowani
Postów: 28
Pomógł: 0
Dołączył: 30.06.2005

Ostrzeżenie: (0%)
-----


  1. <?php
  2. if (!eregi(&#092;"^.+@.+..+$\", $email)) { 
  3. echo &#092;"<p align=center>Podano nieprawidlowy adres e-mail!</p><br><hr size=1><center>[ <a href=javascript:history.go(-1)>popraw</a> ]</center>\"; 
  4. die(); 
  5. } 
  6. ?>

wescie to jakos przerobice ;D tzn da sie ? zeby bylo gg?
Go to the top of the page
+Quote Post
sobstel
post 30.06.2005, 18:09:21
Post #4





Grupa: Zarejestrowani
Postów: 853
Pomógł: 25
Dołączył: 27.08.2003
Skąd: Katowice

Ostrzeżenie: (0%)
-----


Cytat(ali3n @ 2005-06-30 16:24:34)
wescie to jakos przerobice ;D tzn da sie ? zeby bylo gg?

to jest zart, prawda??

nie mowiac juz o tym ze be bela_666 podal ci juz rozwiazanie


--------------------
"If debugging is the process of removing bugs, then programming must be the process of putting them in..."
sobstel.org
Go to the top of the page
+Quote Post
NuLL
post 30.06.2005, 18:20:34
Post #5





Grupa: Zarejestrowani
Postów: 2 262
Pomógł: 21
Dołączył: 3.05.2004
Skąd: Sopot, Krakow, W-wa

Ostrzeżenie: (0%)
-----


Wezme to jakoś zamknę bo głupio to wygląda.


--------------------
Javascript, Coffeescript, Node.js, Mongo, CouchDb, chmury, workery & inne bajery - zycie jest zbyt krotkie aby miec nudna prace :)
Go to the top of the page
+Quote Post

Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 20:25