Mailinglisten-Archive |
This is a multi-part message in MIME format.
------=_NextPart_000_0122_01BF848E.D9F50840
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hallo Ulf,
vor einiger Zeit hattest Du folgendes in der PHP-Liste geschrieben:
gstammw wrote:
> ich habe deine Varinte ausprobiert, aber es will einfach nicht =
klappen.
> Was nun ?
Bitte beschreibe genauer wo das Problem liegt, quote m=F6glichst viel
(http://www.php-center.de/php-de/konventionenundstandards.htm) und
benutze wann immer m=F6glich str* statt ereg*/preg*, denn die str*
Funktionen sind schneller.
Ulf
^^^^^^^^^^^welche str-funktion w=E4re denn das Equivalent zu folgendem =
(leider nicht funktionierendem) Aufruf ?? - Ich m=F6chte dabei =
sicherstellen, da=DF der Domainname keine Umlaute und Sonderzeichen =
sowie nur *einen* Punkt enth=E4lt.
if(eregi("^[_\.0-9a-z-]+[0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$",$Domain))
{$Domainstatus=3D"Kein g=FCltiger Domainname"; =
$Domainerror=3D"1";}
Vielen Dank,
Gunther Stammwitz
------=_NextPart_000_0122_01BF848E.D9F50840
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hallo Ulf,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>vor einiger Zeit hattest Du folgendes =
in der=20
PHP-Liste geschrieben:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>gstammw wrote:<BR>><I> ich habe =
deine Varinte=20
ausprobiert, aber es will einfach nicht klappen.<BR></I>><I> Was nun=20
?<BR></I><BR>Bitte beschreibe genauer wo das Problem liegt, quote =
m=F6glichst=20
viel<BR>(<A=20
href=3D"http://www.php-center.de/php-de/konventionenundstandards.htm">htt=
p://www.php-center.de/php-de/konventionenundstandards.htm</A>)=20
und<BR>benutze wann immer m=F6glich str* statt ereg*/preg*, denn die=20
str*<BR>Funktionen sind schneller.<BR><BR>Ulf<BR>^^^^^^^^^^^welche =
str-funktion=20
w=E4re denn das Equivalent zu folgendem (leider nicht funktionierendem) =
Aufruf ??=20
- Ich m=F6chte dabei sicherstellen, da=DF der Domainname keine Umlaute =
und=20
Sonderzeichen sowie nur *einen* Punkt enth=E4lt.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial=20
size=3D2> if(eregi("^[_\.0-9a-z-]+[0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$"=
,$Domain))<BR> =20
{$Domainstatus=3D"Kein g=FCltiger Domainname"; =
$Domainerror=3D"1";}<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Vielen Dank,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Gunther Stammwitz</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> </DIV></FONT></BODY></HTML>
------=_NextPart_000_0122_01BF848E.D9F50840--
php::bar PHP Wiki - Listenarchive