Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Simple email verify? (http://forums.winamp.com/showthread.php?t=266378)

gabdala 22nd February 2007 17:28

Simple email verify?
 
Need to know a quick way of doing a basic verify of an email thats inputed via a custom page. By basic I mean checking for an "@" and also a ".". Any other checks would be great.

Thanks,

demiller9 22nd February 2007 19:12

!include wordfind.nsh
!insertmacro WordFind2x

# email address in $0
${WordFind2x} "$0" "@" "." "E+1" $1
IfErrors badformat
...
badformat:
...


All times are GMT. The time now is 04:38.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.