• Unique e-mail addy?

    From Uberhund@VERT/WASTELND to All on Mon May 28 13:49:00 2001
    ãHi all,ããGot a bit of a poser here. I'm trying to rewrite PG's validation by emailãmodule, and I'm attempting to dtermine if the email address that the userãentered is unique . I figure that this will require parsing the user DB andãdoing a substring match on all the entered email addresses (sort of like theãfinduser function, except for netmail addresses). Can anybody point me in theãright direction of something that might approximate this behavoir? I've triedãlooking for "example" code, but I haven't found anything that smacks of what Iãwant to do.ããAlso, Does anybody know if there is any method in the Synchronet SDK thatãallows you to modify user data? If so, I'll just do this in c++ :)ãã=Uberããã---ã þ Synchronet þ WasteLand BBS þ telnet://wasteland.darktech.org ã
  • From PistolGrip@VERT/WASTELND to Uberhund on Mon May 28 14:00:00 2001
    RE: Unique e-mail addy?ãBY: Uberhund to All on Mon May 28 2001 08:49 pmãã > Got a bit of a poser here. I'm trying to rewrite PG's validation by emailã > module, and I'm attempting to dtermine if the email address that the userã > entered is unique . I figure that this will require parsing the user DB andã > doing a substring match on all the entered email addresses (sort of like theã > finduser function, except for netmail addresses). Can anybody point me in tã > right direction of something that might approximate this behavoir? I've triã > looking for "example" code, but I haven't found anything that smacks of whatã > want to do.ããEasy, just open the user.dat manually and compare the email address to everyãrecord. You just have to write the code to keep track of the file positionãand record size.ããNot the easiest thing to do with BAJA, but I've done it several times inãvarious mods. Be careful to open the user.dat read-only.ããI'm not going to give you the code as you are trying to copy my mod :-)ããPGãã---ã þ Synchronet þ WasteLand BBS þ telnet://wasteland.darktech.org ã
  • From Uberhund@VERT/WASTELND to PistolGrip on Mon May 28 14:17:00 2001
    RE: Unique e-mail addy?ãBY: PistolGrip to Uberhund on Mon May 28 2001 09:00 pmãã > Easy, just open the user.dat manually and compare the email address to everyã > record. You just have to write the code to keep track of the file positionã > and record size.ã > ã > Not the easiest thing to do with BAJA, but I've done it several times inã > various mods. Be careful to open the user.dat read-only.ã > ã > I'm not going to give you the code as you are trying to copy my mod :-)ã > ã > PGããI'm just desperate for something that works in win2k. :) I've got somethingãthat works in place, but I'm having trouble making it so that they are forcedãto enter a valid email. If its any consolation, I tried everything I could toãget your mod working before I set off on my own :(ããParsing through the user.dat file doesnt really seem like my cup of tea, butãI'll see what I can do :)ãã=Uberããã---ã þ Synchronet þ WasteLand BBS þ telnet://wasteland.darktech.org ã
  • From Uberhund@VERT/WASTELND to Uberhund on Mon May 28 14:33:00 2001
    RE: Unique e-mail addy?ãBY: Uberhund to PistolGrip on Mon May 28 2001 09:17 pmããããActually, got another quick question. Is it possible to call exec (or anythingãequivalent to it) using a strvar instead of having to specify the string rightãthere? If so, it would probably be pretty easy to fix the wacked command lineãparameters under win2k when you make an exec call...ãã=Uberããã---ã þ Synchronet þ WasteLand BBS þ telnet://wasteland.darktech.org ã
  • From PistolGrip@VERT/WASTELND to Uberhund on Mon May 28 16:03:00 2001
    RE: Unique e-mail addy?ãBY: Uberhund to PistolGrip on Mon May 28 2001 09:17 pmãã > > Easy, just open the user.dat manually and compare the email address to evã > > record. You just have to write the code to keep track of the file positiã > > and record size.ã > >ã > > Not the easiest thing to do with BAJA, but I've done it several times inã > > various mods. Be careful to open the user.dat read-only.ã > >ã > > I'm not going to give you the code as you are trying to copy my mod :-)ã > ã > I'm just desperate for something that works in win2k. :) I've got somethingã > that works in place, but I'm having trouble making it so that they are forceã > to enter a valid email. If its any consolation, I tried everything I could ã > get your mod working before I set off on my own :(ããYes, I too spent many hours buggin' telval on W2k and finally gave up and haveãsince started the C++ version, but... it's very far from completion. Justãdon't have near enough time to finish it right now.ããAs we have both concluded the problem is something related to the way the W2Kãcommand processor interprets the SMBUTIL command line. It's either the "<" inãthe command line or possible some of the command line specifiers, but I'mãpretty sure they are already translated before cmd.exe sees them so thatãshould not be the problem. Maybe Rob has some ideas, and maybe he can evenãlook at it now since he's got a W2K box running there.ã ã > Parsing through the user.dat file doesnt really seem like my cup of tea, bã > I'll see what I can do :)ããHehe... yeah the first time I did it was kinda scary but now I've got it downãto a science :-)ããPGãã---ã þ Synchronet þ WasteLand BBS þ telnet://wasteland.darktech.org ã
  • From PistolGrip@VERT/WASTELND to Uberhund on Mon May 28 16:05:00 2001
    RE: Unique e-mail addy?ãBY: Uberhund to Uberhund on Mon May 28 2001 09:33 pmãã > Actually, got another quick question. Is it possible to call exec (or anythã > equivalent to it) using a strvar instead of having to specify the string rigã > there? If so, it would probably be pretty easy to fix the wacked command liã > parameters under win2k when you make an exec call...ããYes, I have tried this already and it doesn't fix it. You can use somethingãlike this.ããsetstr "blah blah blah"ãexec "%s"ããIf you just use a "%s" then it tranforms into whatever the variable 'str' is.ããPGãã---ã þ Synchronet þ WasteLand BBS þ telnet://wasteland.darktech.org ã
  • From Digital Man@VERT to Uberhund on Mon May 28 18:05:29 2001
    RE: Unique e-mail addy?ãBY: Uberhund to Uberhund on Mon May 28 2001 09:33 pmãã > Actually, got another quick question. Is it possible to call exec (or anythã > equivalent to it) using a strvar instead of having to specify the string rigã > there? If so, it would probably be pretty easy to fix the wacked command liã > parameters under win2k when you make an exec call...ããI don't think that is the problem with telval on Win2K.ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From PistolGrip@VERT/WASTELND to Digital Man on Mon May 28 21:18:00 2001
    RE: Unique e-mail addy?ãBY: Digital Man to Uberhund on Tue May 29 2001 01:05 amãã > RE: Unique e-mail addy?ã > BY: Uberhund to Uberhund on Mon May 28 2001 09:33 pmã > ã > > Actually, got another quick question. Is it possible to call exec (or anã > > equivalent to it) using a strvar instead of having to specify the string ã > > there? If so, it would probably be pretty easy to fix the wacked commandã > > parameters under win2k when you make an exec call...ã > ã > I don't think that is the problem with telval on Win2K.ããSuccess!!!!!!!!!!!!ããFinally, after the long delay Telval now works under W2K. Thanks Rob!!! :-)ããI will be releasing Telval v1.6 within the next day or two. Just need toãpolish up a couple things.ããPGãã---ã þ Synchronet þ WasteLand BBS þ telnet://wasteland.darktech.org ã
  • From Uberhund@VERT to Digital Man on Tue May 29 06:17:36 2001
    RE: Unique e-mail addy?ãBY: Digital Man to Uberhund on Tue May 29 2001 01:05 amãã > RE: Unique e-mail addy?ã > BY: Uberhund to Uberhund on Mon May 28 2001 09:33 pmã > ã > > Actually, got another quick question. Is it possible to call exec (or anã > > equivalent to it) using a strvar instead of having to specify the string ã > > there? If so, it would probably be pretty easy to fix the wacked commandã > > parameters under win2k when you make an exec call...ã > ã > I don't think that is the problem with telval on Win2K.ã > ã > RobããYeah, it appears to be some weirdness with cmd.exe. It manifests itself,ãhowever, whenever a command line specifier (%g, etc) is used. Once one ofãthose is included in the string that exec receives, everything after the firstãargument is transmuted into a single asterisk. I've tested it fairlyãextensively. I'm not saying that its Sync'd or BAJA's fault, rather, I'm justãlooking for some sort of work-around.ãã=Uberã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Digital Man@VERT to Uberhund on Tue May 29 09:33:11 2001
    RE: Unique e-mail addy?ãBY: Uberhund to Digital Man on Tue May 29 2001 01:17 pmãã > > > Actually, got another quick question. Is it possible to call exec (orã > > > equivalent to it) using a strvar instead of having to specify the striã > > > there? If so, it would probably be pretty easy to fix the wacked commã > > > parameters under win2k when you make an exec call...ã > >ã > > I don't think that is the problem with telval on Win2K.ã > >ã > ã > Yeah, it appears to be some weirdness with cmd.exe. It manifests itself,ã > however, whenever a command line specifier (%g, etc) is used. Once one ofã > those is included in the string that exec receives, everything after the firã > argument is transmuted into a single asterisk. I've tested it fairlyã > extensively. I'm not saying that its Sync'd or BAJA's fault, rather, I'm juã > looking for some sort of work-around.ããPerhaps PistolGrip will be kind enough to fill us in on his work-around. Iãsuspect that if the program you're executing is in the native program (OS/2)ãlist in SCFG, the redirection still will work.ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From PistolGrip@VERT/WASTELND to Digital Man on Tue May 29 16:22:00 2001
    RE: Unique e-mail addy?ãBY: Digital Man to Uberhund on Tue May 29 2001 04:33 pmãã > Perhaps PistolGrip will be kind enough to fill us in on his work-around. Iã > suspect that if the program you're executing is in the native program (OS/2)ã > list in SCFG, the redirection still will work.ããHeh... well actually it's your workaround. It ain't pretty, but it seems toãwork. I'm just using the batch file method we had discussed. Doing it thisãway works on Win9x and W2k, with or without the program (SMBUTIL) in the nativeãprogram list.ããI'm getting ready to dive-in a little deeper now and try to get everythingãbuttoned-up.ããThanks for the insight Rob.ããPGãã---ã þ Synchronet þ WasteLand BBS þ telnet://wasteland.darktech.org ã