Htaccess ou spry validation de mot de pass !!!!!

bonjour à tous et toutes.
Je cree un site pour une asbl .
Le président de cette asbl, aimerait protéger des documents qui seront consultable par les membres via login et pass.
Comment puis je faire, pour qu'à partir du clic sur la barre spry sous menu espace membres, le htacces demande le mot de pass et login.?
Dois je mettre ma page .html dans le dossier comportant le htacces et htpasswd.?
quel chemin dois je donner pour que mon sous menu demande le mot de pass?
La validation du mot de pass spry peut il remplacer le htaccess?
Si possible, est il possible de me donner la marche à suivre!!
Merci d'avance pour vos conseil
drpeppers

Bonjour,
pense-vous à quelque chose comme ça: http://www.goldschmiede-blumberg.de/AccBlocked/AccBlocked.php Seuls ces utilisateurs qui connaissent le mot de passe peuvent accéder à ce site.
Souvent, vous pouvez trouver cette offre, j'en suis sûr, sur le site Web de votre fournisseur. Dans un menu, vous pouvez protéger les pages que vous avez choisi d'une manière simple, les utilisateurs ne pouvez utiliser la page quand ils donnent leurs / vos mots de passe, comme je l'ai fait ici:
Comme vous pouvez le voir je n'ai pas mal à écrire le «htaccess» de moi-même, j'ai utilisé du prestataire de service. L'avantage, c'est que les deux fichiers (.htaccess et .htpasswd) sont créés simultanément et systemconform.
Hans-G.

Similar Messages

  • Spry validation custom functions

    I see that there is a way to specify a custom function to a
    spry validation widget like so:
    var customFunction = new
    Spry.Widget.ValidationTextField("customPasswordFunction", "custom",
    {validation: passwordStrength, validateOn:["blur", "change"]});
    Is there a way to pass additional parameters to the function?
    I see that it passes (value,options) by default. I want to pass
    additional parameters to my custom function. Is this
    possible?

    I see that there is a way to specify a custom function to a
    spry validation widget like so:
    var customFunction = new
    Spry.Widget.ValidationTextField("customPasswordFunction", "custom",
    {validation: passwordStrength, validateOn:["blur", "change"]});
    Is there a way to pass additional parameters to the function?
    I see that it passes (value,options) by default. I want to pass
    additional parameters to my custom function. Is this
    possible?

  • Spry validations fails with different submit btn

    Hello,
    I have a form with spry validation, works great. The moment I
    add this as the submit button rather then the normal submit the
    spry validation will not longer work:
    <input name="submitbutton" type="button"
    class="submitbutton" onclick="if(this.value == 'Submit Order')
    this.form.submit(); this.value = 'Processing Your Order!! Do not
    click again.';" value="Submit Order" />
    Really want to flip out the submit button after click like
    this...anyone have suggestions to get this working?
    -Joe

    I only added one line -- return ray.ajax(); -- when all validation has been passed right before return come true.
    I wish I could do it with the Spry Validation too. Any ideas?.

  • CS 5.5 Web Premium : installation et mot de passe ID Adobe

    Bonjour,
    Je viens de modifier mon mot de passe mais celui-ci, alors qu'il est accepté sur le site abode.com, n'est pas valide dans la procédure d'installation de CS 5.5 Web Premium où il est limité à 12 caractères (le mien est donc trop long).
    Pas de question ici, juste l'envie de signaler que cette limiation est fâcheuse étant donné que ce format est accepté sur le site. Peut-être que vos spécifications sur les mots de passe ont changé depuis l'époque pas si lointaine de CS 5.5 mais ça reste une incohérence qui me chagrine.
    Cordialement,
    glouton

    Bonjour,
    Au début de la procédure d'installation, depuis cd et sous windows 7, il y a une étape (peut-être passable) pour créer un compte ou se connecter. Lors de cette étape mon mot de passe n'était pas accepté car trop long. J'avais un message d'erreur précisant que qu'il devait comporter entre 6 et 12 caractères. J'ai donc modifié mon mot de passe et installé la suite logiciel.
    Mais du coup j'avais oublié ce mot de passe et pour pouvoir écrire cette réponse je viens à nouveau de procéder à une modification pour remettre mon mot de passe plus long et plus sécurisé. J'espère simplement que j'aurais toujours accès mon CS5.5 (je suis pour l'instant sous linux).

  • Quand je veux me connecter via mon adresse hotmail sur "messages" on me dit que mon mot de passe ou identifiant AOL instant messenger est invalide

    Bonsoir
    j ai un souci
    lorsque je souhaite me connecter sur "messages" systèmatiquement il m ouvre une fenetre AOL Instant Messenger et me demande d entrer mon mot de passe pour le compte en question. Jusque là OK
    mais quand j entre mon mot de passe, il me dit que l identifiant ou le mot de passe n est pas correct, du coup impossible de me connecter avec un quelconque compte "hotmail"
    Si quelqu un avait une solution...
    Merci d avance
    Manu

    Hi
    good evening
    I have a concern
    When I want to connect on "messages" it prompted systematically (m) opens a window AOL Instant Messenger and asks me to enter my password to the account in question. OK so far
    but when j between my password, it tells me the username or the password is not correct, the coup not I connect with any account "hotmail"
    If someone had a solution ...
    Thank you for advance
    Manu
    Messages will connect to any Screen Name valid with AIM listed in the System Preferences > Mail, Contacts and Calendars and enabled for Messages  (Or listed in the Messages > Preferences > Accounts)
    Same for Jabber IDs (Includes Facebook iDs and GoogleMail IDs)
    It will not do MSN/Hotmail/Live IDs without a bit of work
    http://allforces.com/2005/05/06/ichat-to-msn-through-jabber/
    Do you have an Apple ID ending in @mac.com or @me.com as these are Valid AIM names ?
    Or do you have an AIM Screen Name already ?
    Les messages seront connecter à n'importe quel nom d'écran valide avec AIM énumérés dans les Préférences Système> Mail, Contacts et Calendriers et activé pour les messages (ou figurant dans les messages> Préférences> Comptes)
    Idem pour Jabber ID (Comprend Facebook iD et GoogleMail ID)
    Il ne faut pas MSN / Hotmail / Live ID sans un peu de travail
    http://allforces.com/2005/05/06/ichat-to-msn-through-jabber/
    Avez-vous un Apple ID [email protected] se terminant [email protected] que ce sont des noms but valable?
    Ou avez-vous un nom de AIM déjà?
    8:53 PM      Sunday; August 12, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Pourquoi me demande t on mon mot de passe sans arrêt

    Bonjour,
    depuis quelques temps, ok très longtemps, on nous demandes nos mots de passe sans arrêt. Tantôt c'est trousseau, tantôt c'est syncdefault, d'autre fois c'est mail ou encore Iphoto... C'est assez rébarbatif, surtout quand on a laissé le mac tout seul un moment et qu'on y retourne, il faut parfois s'aquitter de rentrer le même mot de passe dans 4 voir 5 fenêtres qui le réclament.
    Alors oui on a 1 mot de passe d'un compte mail qui diffère du général mais pas possible de le changer auprés du compte mail.
    On a contacté Expresslane mais on été pris de haut genre "c'est normal" mais moi je pense pas car Apple est pas du genre à faire des systemes abrutis qui demandent sans arrêt la même chose sans raison !
    Quelqu'un a t il eu le même souci, et sait comment le résoudre ?
    Merci d'avance !

    Hi
    good evening
    I have a concern
    When I want to connect on "messages" it prompted systematically (m) opens a window AOL Instant Messenger and asks me to enter my password to the account in question. OK so far
    but when j between my password, it tells me the username or the password is not correct, the coup not I connect with any account "hotmail"
    If someone had a solution ...
    Thank you for advance
    Manu
    Messages will connect to any Screen Name valid with AIM listed in the System Preferences > Mail, Contacts and Calendars and enabled for Messages  (Or listed in the Messages > Preferences > Accounts)
    Same for Jabber IDs (Includes Facebook iDs and GoogleMail IDs)
    It will not do MSN/Hotmail/Live IDs without a bit of work
    http://allforces.com/2005/05/06/ichat-to-msn-through-jabber/
    Do you have an Apple ID ending in @mac.com or @me.com as these are Valid AIM names ?
    Or do you have an AIM Screen Name already ?
    Les messages seront connecter à n'importe quel nom d'écran valide avec AIM énumérés dans les Préférences Système> Mail, Contacts et Calendriers et activé pour les messages (ou figurant dans les messages> Préférences> Comptes)
    Idem pour Jabber ID (Comprend Facebook iD et GoogleMail ID)
    Il ne faut pas MSN / Hotmail / Live ID sans un peu de travail
    http://allforces.com/2005/05/06/ichat-to-msn-through-jabber/
    Avez-vous un Apple ID [email protected] se terminant [email protected] que ce sont des noms but valable?
    Ou avez-vous un nom de AIM déjà?
    8:53 PM      Sunday; August 12, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Quand je vais sur facetime ou imessage je rentre mon identifiant et mon mot de passe mais il me dise qu'il est incorrecte, pourquoi ?

    quand je vais sur facetime ou imessage je rentre mon identifiant et mon mot de passe mais il me dise qu'il est incorrecte, pourquoi ?

    Hi
    good evening
    I have a concern
    When I want to connect on "messages" it prompted systematically (m) opens a window AOL Instant Messenger and asks me to enter my password to the account in question. OK so far
    but when j between my password, it tells me the username or the password is not correct, the coup not I connect with any account "hotmail"
    If someone had a solution ...
    Thank you for advance
    Manu
    Messages will connect to any Screen Name valid with AIM listed in the System Preferences > Mail, Contacts and Calendars and enabled for Messages  (Or listed in the Messages > Preferences > Accounts)
    Same for Jabber IDs (Includes Facebook iDs and GoogleMail IDs)
    It will not do MSN/Hotmail/Live IDs without a bit of work
    http://allforces.com/2005/05/06/ichat-to-msn-through-jabber/
    Do you have an Apple ID ending in @mac.com or @me.com as these are Valid AIM names ?
    Or do you have an AIM Screen Name already ?
    Les messages seront connecter à n'importe quel nom d'écran valide avec AIM énumérés dans les Préférences Système> Mail, Contacts et Calendriers et activé pour les messages (ou figurant dans les messages> Préférences> Comptes)
    Idem pour Jabber ID (Comprend Facebook iD et GoogleMail ID)
    Il ne faut pas MSN / Hotmail / Live ID sans un peu de travail
    http://allforces.com/2005/05/06/ichat-to-msn-through-jabber/
    Avez-vous un Apple ID [email protected] se terminant [email protected] que ce sont des noms but valable?
    Ou avez-vous un nom de AIM déjà?
    8:53 PM      Sunday; August 12, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • J'ai cree un compte mais mon tel ne veut pas reconnaitre mon mot de passe je les deja reinitialiser plusieure fois et ca ne fonctionne toujour pas

    je ne peu pas telecharger d'apps un message apperait pour me dire que mon compte n'et pas valider je renvoie le courriel a chaque fois environ 10 essaie toujour infructueux
    quand je valide le premier courriel recu celui ci m'indique que mon compte et deja valide donc que faire?
    j'ai reinitialiser le mot de passe 4 fois et toujour rien

    When I bought my HP Photosmart Premium e-all-in-one C310 series last November, it worked properly with Vista.
    Since I installed Windows 7 64-bit impossible to function normally again.
    I just uninstalled and reinstalled several times the driver for windows 7 64 bit from the site ofHP. I also installed several times to add on 64-bit Windows 7 May 5, 2011.
    Unable to walk properly the printer for several weeks.
    I reported at the FNAC, where she worked (at least this is what they told me) but at home, shetold me that the cartridges are empty (so I've changed ... ) lescartouches that are misaligned (I have therefore realigned ...)...
    but I still get to be all roses pictures streaked white lines or texts that do not print at all (whiteleaves out ...)...
    I do not know where to go on the HP site and this, after having rejected my password aswrong, I was refused I renamed it as the password on the grounds that c is the former I have to change! So I changed but I simmering with rage against HP.
    A tip quickly for it to work before I throw my printer out the window and I bought another brandthat makes drivers compatible with Windows 7 and support a site that works.
    Although I am an HP employee, I am speaking for myself and not for HP.
    If I have resolved your issue, feel free to provide Kudos and make sure you mark this thread as solution provided.

  • J'ai tapé le mauvais mot de paasse et mon telephone me dit de me connecter a i tune mais quand j le fais ,i tune me demande de taper mon mot de passe dans mon telephone pour le reconnaitre

    Mon iphone est desactivé et il y a un message que je dois me connecter a i tune.mais quand je me connecte,itude me demande de retaper mon mot de passe dans mon telephone mais j ai oublié mon mot de passe.

    Hi
    good evening
    I have a concern
    When I want to connect on "messages" it prompted systematically (m) opens a window AOL Instant Messenger and asks me to enter my password to the account in question. OK so far
    but when j between my password, it tells me the username or the password is not correct, the coup not I connect with any account "hotmail"
    If someone had a solution ...
    Thank you for advance
    Manu
    Messages will connect to any Screen Name valid with AIM listed in the System Preferences > Mail, Contacts and Calendars and enabled for Messages  (Or listed in the Messages > Preferences > Accounts)
    Same for Jabber IDs (Includes Facebook iDs and GoogleMail IDs)
    It will not do MSN/Hotmail/Live IDs without a bit of work
    http://allforces.com/2005/05/06/ichat-to-msn-through-jabber/
    Do you have an Apple ID ending in @mac.com or @me.com as these are Valid AIM names ?
    Or do you have an AIM Screen Name already ?
    Les messages seront connecter à n'importe quel nom d'écran valide avec AIM énumérés dans les Préférences Système> Mail, Contacts et Calendriers et activé pour les messages (ou figurant dans les messages> Préférences> Comptes)
    Idem pour Jabber ID (Comprend Facebook iD et GoogleMail ID)
    Il ne faut pas MSN / Hotmail / Live ID sans un peu de travail
    http://allforces.com/2005/05/06/ichat-to-msn-through-jabber/
    Avez-vous un Apple ID [email protected] se terminant [email protected] que ce sont des noms but valable?
    Ou avez-vous un nom de AIM déjà?
    8:53 PM      Sunday; August 12, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Mot de passe incorrect au démarrage.

    Bonjour à tous,
    Je viens de redémarrer mon iMac car il avait des bugs incessants pendant que je travaillais dessus.
    Je clique donc sur ma session et tape mon mot de passe. Ce dernier, au moment de valider, est refusé !
    Que dois-je faire pour récupérer ma session ?
    J'ai besoin d'avoir très rapidement mon mac, aidez moi s'il vous plaît.
    Je vous remercie d'avance.

    Bonjour,
    Peut-être beaucoup de choses, nous devrions commencer avec cette ...
    "Essayer Utilitaire de disque
    1. Insérez le disque d'installation de Mac OS X, puis redémarrez l'ordinateur en maintenant la touche C.
    2. Lorsque votre ordinateur a fini de démarrer à partir du disque, choisissez Utilitaire de disque dans le menu d'installation en haut de l'écran. (Sous Mac OS X 10.4 ou ultérieur, vous devez sélectionner votre langue maternelle.)
    * Important: Ne cliquez pas sur Continuer dans le premier écran de l'installateur. Si vous le faites, vous devez redémarrer à partir du disque pour accéder à l'utilitaire de disque. *
    3. Cliquez sur l'onglet SOS.
    4. Sélectionnez votre volume Mac OS X.
    5. Cliquez sur disquette de réparation, (pas Réparer les autorisations). Contrôles de l'utilitaire de disque et répare le disque. "
    http://docs.info.apple.com/article.html?artnum=106214
    Ensuite, essayez un démarrage sans échec, (maintenant la touche Maj enfoncée au démarrage), exécutez l'Utilitaire de disque dans Applications> Utilitaires, puis sélectionnez votre disque dur, cliquez sur Réparer les autorisations, redémarrer quand il se termine.
    (Boot Safe peut rester sur le gris radian pendant une longue période, le laisser aller, il essaie de réparer le disque dur.)
    Si par hasard vous ne trouvez pas votre disque d'installation, au moins essayer de le Safe partie en avant de Boot.

  • Mot de passe utilisateur reinitialisé,mot de passe admin perdu

    Bonjour je suis sur MBP "OS X Lion 10.7.5" 13 pouces; fin 2011.
    J'ai réinitialisé le mot de passe "pour l'ouverture de ma cession" et DEPUIS le mot de passe "admin" ne fonctionne plus(impossible d'ouvrir les cadenas); Je dois installer un logiciel pour mon travail ;mais je ne peux valider l'autorisation sans mot de passe.
    "SOS" trousseau ne se déverouille plus quand je mets de mon nom d'utilisateur et le mot de passe de ma cession . !! Mon ancien mot de passe administrateur ... Refusé !!
    Je ne sais plus quoi faire, quoique je fasse le mot de passe m'est toujours demandé et je ne l'ai PLUS!
    Alors si Quelqu'un sait commentaire RESOUDRE mon Problème  pour que je puisse avoir accés au trousseau pour remettre un mot de passe... merci par avance.
    Cordialement.
    MacBook Pro, Mac OS X (10.7.5)

    Bonjour,
    Pouvez m'expliquer votre probleme en anglais, s'il vous plait?
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • Page privée avec mot de passe

    Bonjour,
    Est-il possible de mettre en place une page privée avec mot de passe pour y rentrer sur un site adobe muse?
    Plus exactement, je souhaiterai créer une page avec mot de passe. Lorsque l'on a entre le mot de passe, nous accédons à un formulaire classique pour poser des questions. Je ne sais pas si le logiciel adobe muse offre cette possibilité.
    Merci beaucoup pour votre aide.

    Bonjour,
    le moyen le plus facile - à mon avis - pour protéger le site (s) recommandée avec un mot de passe est de demander à votre fournisseur pour cette possibilité. Je peux vous montrer ici le menu de mon fournisseur allemand (Passwortschutz> Protection par mot de passe):
    Voici un exemple de l'un de mes sites, où je ai utilisé le service de mon fournisseur. Vous pouvez voir ce qui se passe si vous ne connaissez pas les détails nécessaires: http://dala-laegret1963.de/AccBlocked/AccBlocked.php. Il ne ces utilisateurs qui connaissent les mots de passe peut accéder à ce site.
    Comme vous pouvez le voir, je ne ai pas du mal à écrire le fichier ".htaccess" de moi-même, je ai utilisé (ISP) le service du fournisseur. L'avantage, ce est que les deux fichiers (.htaccess et .htpasswd) sont créés simultanément et systemconform. Vous trouverez cette offre, je en suis sûr, sur le site Web de votre fournisseur.
    Bonne chance!
    Hans-Günter

  • Spry Validation in Spry Detail Region

    I am trying to pre-populate an "update" data form using a
    spry detail region. Basically a list of users is displayed on the
    left, and the detail in a tab on the right. A second "edit" tab
    displays a form that is populated with data from the spry dataset
    using a detail region (just as the first detail tab). However, the
    spry validations within the detail region do not work.
    Download
    this zip.
    Thanks for looking.

    Hi jmortimer,
    What you need to do is trigger the constructors for your
    validation widgets every time the region updates. To do this, you
    need to either move the constructor calls into your region, *or*
    call the constructors from an onPostUpdate observer on your region.
    To see an example of this, look here:
    http://labs.adobe.com/technologies/spry/samples/accordion/AccordionSample2.html
    Just a note ... don't move the constructor for your tabbed
    panel into the region. Leave it where it is today.
    --== Kin ==--

  • Spry Validation Confirm Widget

    Ugh.  This is driving me nuts!
    I've used the Spry Validation Confirm Widget successfully before, but for some reason I can't spot, I get this error message every time I try to load the page: Spry.ValidationConfirm ERR: The element ConfirmPasswordWidget doesn't exists!
    The JS and CSS files are linked as follows in the head section.
    <!-- Link the Spry Validation Password JavaScript library -->
    <script src="SpryAssets/SpryValidationPassword.js" type="text/javascript"></script>
    <!-- Link the CSS style sheet that styles the widget -->
    <link href="SpryAssets/SpryValidationPassword.css" rel="stylesheet" type="text/css" />
    <!-- Link the Spry Validation Confirm JavaScript library -->
    <script src="SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script>
    <!-- Link the CSS style sheet that styles the widget -->
    <link href="SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css" />
    The code in the body looks like this:
          <form id="Passwordform" name="Passwordform" method="post" action="">
            <table>
              <tr>
                <td><label for="password1">Password:</label></td>
                <td><span id="ValidatePasswordWidget">
                  <input name="password1" type="password" id="password1" value="" size="20" maxlength="20"/>
                  <span class="passwordRequiredMsg">A value is required.</span>
                  <span class="passwordMinCharsMsg">The minimum number of characters not met.</span>
                  <span class="passwordMaxCharsMsg">The maximum number of characters exceeded.</span>
                  <span class="passwordInvalidStrengthMsg">The password strength condition not met.</span>
                  <span class="passwordCustomMsg">User defined condition not met.</span>
                  </span>
                </td>
              </tr>
              <tr>
                <td><label for="confirmpassword">Re-enter password </label></td>
                <td><span id="ConfirmPasswordWidget">
                  <input type="password" id="confirmpassword" value="" size="20" maxlength="20" />
                  <span class="confirmRequiredMsg">A value is required.</span>
                  <span class="confirmInvalidMsg">The values do not match</span>
                  </span>
                </td>
              </tr>
              <tr>
                <td> </td>
                <td><input type="submit" name="submit" value="Submit" />
                </td>
              </tr>
            </table>
          </form>
    The scripts are declared as follows:
    <script type="text/javascript">
       var sprytextfield1      = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"], minChars:7, maxChars:7});
       var password1           = new Spry.Widget.ValidationPassword("ValidatePasswordWidget", {validateOn:["blur"], minAlphaChars:3, minNumbers:1, maxSpecialChars:2, minChars:3, maxChars:8});     
       var ConfirmWidgetObject = new Spry.Widget.ValidationConfirm("ConfirmPasswordWidget", "password1", {validateOn: ['blur']});  </script>
    The actual code is shown below (it doesn't allow me to attach it).
    I know this is a lot to ask, but can anyone see the reason why I'm getting this error?  Looks to me like ConfirmPasswordWidget exists!?
    Thanks in advance.
    <?php require_once('Connections/Unit174Conn.php'); ?>
    <?php if (!isset($_SESSION)) { session_start(); } ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $colname_rsACBLNumber = "-1";
    if (isset($_POST['ACBL_Number'])) {
      $colname_rsACBLNumber = $_POST['ACBL_Number'];
    mysql_select_db($database_Unit174Conn, $Unit174Conn);
    $query_rsACBLNumber = sprintf("SELECT * FROM unit174members WHERE ACBLNumber = %s", GetSQLValueString($colname_rsACBLNumber, "text"));
    $rsACBLNumber = mysql_query($query_rsACBLNumber, $Unit174Conn) or die(mysql_error());
    $row_rsACBLNumber = mysql_fetch_assoc($rsACBLNumber);
    $totalRows_rsACBLNumber = mysql_num_rows($rsACBLNumber);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <!-- InstanceBegin template="/Templates/Unit174_Template.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta name="verify-v1" content="PiJ9w6m8VEIvYazx7HJBGOw/d9FeOgKQ1+XlIli6oIE=" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Register</title>
    <!-- InstanceEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta http-equiv="Content-Language" content="en-us" />
    <meta http-equiv="Keywords" content="Houston, Bridge, ACBL, Duplicate, Unit 174, District 16, Texas, Results, Community Center, cards, Bridge Club, scores" />
    <meta name="Keywords" content="Houston, Duplicate Bridge, Duplicate, Bridge Unit 174, District 16, ACBL, Tracy Gee, Pech Road, JCC, Ace of Clubs" />
    <link href="css/Unit174.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- InstanceBeginEditable name="head" -->
    <link href="css/table_design.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <!-- Link the Spry Validation Password JavaScript library -->
    <script src="SpryAssets/SpryValidationPassword.js" type="text/javascript"></script>
    <!-- Link the CSS style sheet that styles the widget -->
    <link href="SpryAssets/SpryValidationPassword.css" rel="stylesheet" type="text/css" />
    <!-- Link the Spry Validation Confirm JavaScript library -->
    <script src="SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script>
    <!-- Link the CSS style sheet that styles the widget -->
    <link href="SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css" />
    <!-- InstanceEndEditable --><!-- InstanceParam name="Page_ID" type="text" value="Register" --><!-- InstanceParam name="class" type="text" value="Unit174" -->
    </head>
    <body class="Unit174" id="Register">
    <div id="container">
      <div id="header"> <img src="Photos/Pat_Levy.jpg"       alt="Pat Levy"       title="Pat Levy"        width="80" height="100" class="framed_image" /> <img src="Photos/Paul Cuneo.jpg"     alt="Paul Cuneo"     title="Paul Cuneo"      width="80" height="100" class="framed_image" /> <img src="Photos/John_Erickson.jpg"  alt="John Erickson"  title="John Ericson"    width="80" height="100" class="framed_image" /> <img src="Photos/Sue_Adamson.png"    alt="Sue Adamson"    title="Sue Adamson"     width="80" height="100" class="framed_image" /> <img src="Photos/Bob_Dowlen_2.jpg"   alt="Bob Dowlen"     title="Bob Dowlen"      width="80" height="100" class="framed_image" /> <img src="Photos/Lauri_Laufman.jpg"  alt="Lauri Laufman"  title="Lauri Laufman"   width="80" height="100" class="framed_image" /> <img src="Photos/Karen_Nimmons.jpg"  alt="Karen Nimmons"  title="Karen Nimmons"   width="80" height="100" class="framed_image" /> <img src="Photos/Robert_Reichek.png" alt="Robert Reichek" title="Robert Reichek"  width="80" height="100" class="framed_image" /> <img src="Photos/Joyce_Ryan.jpg"     alt="Joyce Ryan"     title="Joyce Ryan"      width="80" height="100" class="framed_image" />
        <h1>The Board of Directors of Houston Unit 174 of the ACBL</h1>
        <h4>Welcomes you to</h4>
        <h1>Houston Duplicate Bridge</h1>
        <!--End header div-->
      </div>
      <div id="NavContainer">
        <ul id="NavList" class="MenuBarHorizontal">
          <li><a href="index.html">Home</a></li>
          <li><a class="MenuBarItemSubmenu" href="#">Unit Pages</a>
            <ul>
              <li><a href="174calendar.htm">Unit 174 Calendar</a></li>
              <li><a href="board_of_directors.htm">Unit board of Directors</a></li>
              <li><a href="minutes.htm">Board Minutes</a></li>
              <li><a href="174finances.htm">Financial Reports</a></li>
              <li><a href="bylaws.htm" target="_blank">Bylaws</a></li>
              <li><a href="mailto:[email protected]">Sign up for Free E-mail Newsletter </a></li>
              <li><a href="http://www.unit174partnership.com/" target="_blank">Find a partner!</a></li>
              <li><a href="#" class="MenuBarItemSubmenu">Honors</a>
                <ul>
                  <li><a href="texas_star.htm">Texas Stars</a></li>
                  <li><a href="charity_committee.htm">Charity Committee</a></li>
                  <li><a href="goodwill_committee.htm">Goodwill Committee</a></li>
                </ul>
              </li>
              <li><a href="memberstats.htm">Membership Charts</a></li>
              <li><a href="Photo_Gallery/gallery.php">Photo Gallery</a></li>
              <li><a href="mapof_174.htm">Unit Map</a></li>
              <li><a href="map.htm">Map with Club Info</a></li>
              <li><a href="Past_Tournaments.htm">Past Tournament Results</a></li>
              <li><a href="club_special_events.htm">Club Special Events</a></li>
              <li><a href="swiss_teams.htm">Swiss Teams</a></li>
              <li><a href="Randall's cards.pdf">Randall's Cards</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">Masterpoint Races</a>
            <ul>
              <li><a href="Ace_Of_Clubs.htm" target="_blank">Ace of Clubs</a></li>
              <li><a href="Mini-McKenney.htm" target="_blank">Mini-McKenney</a></li>
              <li><a href="unit_masterpoints.php">Unit masterpoint holdings</a></li>
              <li><a href="2008mpraces.htm">2008 All Races 100 deep</a></li>
            </ul>
          </li>
          <li><a class="MenuBarItemSubmenu" href="#">Newer Player Resources</a>
            <ul>
              <li><a href="novice_games.htm">Intermediate/Novice Games</a></li>
              <li><a href="askateacher.htm">Ask a teacher</a></li>
              <li><a href="bridgelessons.htm">Bridge Lessons</a></li>
              <li><a href="#" class="MenuBarItemSubmenu">Mentor-Mentee Games</a>
                <ul>
                  <li><a href="http://www.bridgeclubofhouston.org/" target="_blank">Bridge Club of Houston</a></li>
                  <li><a href="http://www.houstonbridgestudio.com/Mentor_Novice.htm" target="_blank">Houston Bridge Studio</a></li>
                </ul>
              </li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">Club Web Pages</a>
            <ul>
              <li><a href="#" class="MenuBarItemSubmenu">Houston</a>
                <ul>
                  <li><a href="Club_Web_Pages/Ace_of_Clubs.htm" target="_blank">Ace of Clubs</a></li>
                  <li><a href="Club_Web_Pages/Apple.html" target="_blank">Apple</a></li>
                  <li><a href="Club_Web_Pages/Apple_Too.html" target="_blank">Apple Too</a></li>
                  <li><a href="Club_Web_Pages/Forest_Club.html" target="_blank">Forest Club</a></li>
                  <li><a href="http://www.houstonbridgestudio.com/" target="_blank">Houston Bridge Studio</a></li>
                  <li><a href="Club_Web_Pages/Lakeside.html" target="_blank">Lakeside</a></li>
                  <li><a href="Club_Web_Pages/Racquet_Club.html" target="_blank">Racquet Club</a></li>
                  <li><a href="Club_Web_Pages/River_Oaks.html" target="_blank">River Oaks</a></li>
                  <li><a href="Club_Web_Pages/Southwest.html" target="_blank">Southwest</a></li>
                  <li><a href="Club_Web_Pages/Spring_Branch.html" target="_blank">Spring Branch</a></li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">Northside</a>
                <ul>
                  <li><a href="Club_Web_Pages/april_sound.htm" target="_blank">April Sound</a></li>
                  <li><a href="http://www.bridgeclubofhouston.org/" target="_blank">Bridge Club of Houston</a></li>
                  <li><a href="Club_Web_Pages/conroe.htm" target="_blank">Conroe</a></li>
                  <li><a href="Club_Web_Pages/Kingwood.html" target="_blank">Kingwood</a></li>
                  <li><a href="Club_Web_Pages/lakeconroe.htm" target="_blank">Lake Conroe</a></li>
                  <li><a href="Club_Web_Pages/livingston.htm" target="_blank">Livingston</a></li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">Southside</a>
                <ul>
                  <li><a href="http://www.acblunit174.org/clearlak/clearlake.htm" target="_blank">Clear Lake</a></li>
                  <li><a href="http://www.acblunit174.org/pasadena/pasadena.htm" target="_blank">Pasadena</a></li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">Lake Jackson</a>
                <ul>
                  <li><a href="Club_Web_Pages/bar-x.htm" target="_blank">Bar-X</a></li>
                  <li><a href="Club_Web_Pages/diamond_duplicate.htm" target="_blank">Diamond</a></li>
                  <li><a href="Club_Web_Pages/gulf_coast.htm" target="_blank">Gulf Coast</a></li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">Bryan/College Station</a>
                <ul>
                  <li><a href="Club_Web_Pages/aggieland.htm" target="_blank">Aggieland</a></li>
                  <li><a href="Club_Web_Pages/brazos.htm" target="_blank">Brazos</a></li>
                  <li><a href="Club_Web_Pages/briarcrest.htm" target="_blank">Briarcrest</a></li>
                  <li><a href="Club_Web_Pages/pebble_creek.htm" target="_blank">Pebble Creek</a></li>
                  <li><a href="Club_Web_Pages/star_duplicate.htm" target="_blank">Star</a></li>
                </ul>
              </li>
              <li><a href="#" target="_blank" class="MenuBarItemSubmenu">Sugar Land</a>
                <ul>
                  <li><a href="Club_Web_Pages/riverbender.htm" target="_blank">Riverbender</a></li>
                  <li><a href="Club_Web_Pages/sugarland_dbc.htm" target="_blank">Sugar Land</a></li>
                  <li><a href="Club_Web_Pages/Sugarland_Night.htm" target="_blank">Sugar Land Night</a></li>
                  <li><a href="Club_Web_Pages/valley_bend.htm" target="_blank">Valley Bend</a></li>
                </ul>
              </li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">Scores</a>
            <ul>
              <li><a href="March.php">March</a></li>
              <li><a href="April.php">April</a></li>
              <li><a href="May.php">May</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">D16 &amp; ACBL Links</a>
            <ul>
              <li><a href="http://www.d16acbl.org/" target="_blank">District 16 Home Page</a></li>
              <li><a href="http://www.d16acbl.org/D16_Map.html" target="_blank">Map of District 16</a></li>
              <li><a href="http://www.d16acbl.org/D16_Results.html" target="_blank">District Tournament Results</a></li>
              <li><a href="http://www.d16acbl.org/D16_Calendar.html" target="_blank">District Calendar</a></li>
              <li><a href="http://www.d16acbl.org/D16_Scorecard.html" target="_blank">Scorecard</a></li>
              <li><a href="http://www.d16acbl.org/Honors/Jacoby/D16_Jacoby.html" target="_blank">Jacoby Awards</a></li>
              <li><a href="http://www.d16acbl.org/Honors/Texas_Star/D16_TexasStar.html" target="_blank">Texas Star Awards</a></li>
              <li><a href="http://www.acbl.org/" target="_blank">ACBL Home Page</a></li>
              <li><a href="http://web.acbl.org/CustomerLogin/login.do;jsessionid=0000zJMgbgs3BAR2ArmUm4Wn6Si:-1" target="_blank">Check your Masterpoints</a></li>
              <li><a href="http://web3.acbl.org/internet/AddressChangeApp.nsf/changeofaddress?OpenForm" target="_blank">Change info with ACBL</a></li>
              <li><a href="http://www.acbl.org/play/toolsSupplies.html" target="_blank">Make your own convention card</a></li>
              <li><a href="http://www.acbl.org/play/recent-results.php" target="_blank">Results of past NABCs</a></li>
              <li><a href="http://www.acbl.org/assets/documents/play/Laws-of-Duplicate-Bridge.pdf" target="_blank">Laws of Duplicate Bridge</a></li>
              <li><a href="#" class="MenuBarItemSubmenu">Find a club</a>
                <ul>
                  <li><a href="http://web2.acbl.org/As400/clubs/allClubs/uclub-TX.htm" target="_blank">Texas</a></li>
                  <li><a href="http://www.acbl.org/play/findClub.html" target="_blank">ACBL</a></li>
                </ul>
              </li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">Non Bridge Links</a>
            <ul>
              <li><a href="http://www.aarpmagazine.org/games/" target="_blank">AARP Games</a></li>
              <li><a href="http://www.amazon.com/" target="_blank">Amazon.com</a></li>
              <li><a href="http://www.consumerworld.org/" target="_blank">Consumer World</a></li>
              <li><a href="http://www.onelook.com/" target="_blank">Dictionary</a></li>
              <li><a href="http://www.chron.com/" target="_blank">Houston Chronicle</a></li>
              <li><a href="http://www.google.com/" target="_blank">Google</a></li>
              <li><a href="http://maps.google.com/" target="_blank">Google Maps</a></li>
              <li><a href="http://www.b4-u-eat.com/" target="_blank">Houston Restaurant Guide</a></li>
              <li><a href="http://us.imdb.com/" target="_blank">Internet Movie Database</a></li>
              <li><a href="http://www.uclick.com/client/mma/uj/" target="_blank">Jigsaw Puzzle</a></li>
              <li><a href="http://patandlew.com/Movie%20Ratings.htm" target="_blank">Lew's Movie Reviews</a></li>
              <li><a href="http://medlineplus.gov/" target="_blank">Medical Information</a></li>
              <li><a href="http://www.netflix.com/" target="_blank">NetFlix</a></li>
              <li><a href="http://www.npr.org/" target="_blank">NPR</a></li>
              <li><a href="http://www.privateeye.com/?piid=06&" target="_blank">Public Info (Age, family)</a></li>
              <li><a href="http://www.yahoo.com/" target="_blank">Yahoo</a></li>
            </ul>
          </li>
        </ul>
        <!--End NavContainer div-->
      </div>
      <!-- InstanceBeginEditable name="Main_Content" -->
      <div id="container">
        <div id="mainContent">
          <h1>Register on the Unit 174 Web site</h1>
          <p>To begin the registration process, please fill in your ACBL number and click <strong>Submit</strong>.</p>
          <form action="<?php echo $editFormAction; ?>" method="post" name="registration_form" id="registration_form">
            <table>
              <tr>
                <td><label for="ACBL_Number">ACBL Number</label></td>
                <td><span id="sprytextfield1">
                  <input name="ACBL_Number" type="text" id="ACBL_Number" size="20" maxlength="20" />
                  <span class="textfieldRequiredMsg">A value is required.</span>
                  <span class="textfieldMinCharsMsg">Minimum number of characters not met.</span>
                  <span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span>
                  </span>
                </td>
                <td><input type="submit" name="submit" id="submit" value="Submit" /></td>
              </tr>
            </table>
          </form>
          <?php
             if ( isset($_POST['ACBL_Number'])) {
               if ($totalRows_rsACBLNumber > 0)  { 
              echo "<p>Great - your ACBL number was found.  Now enter a password, and confirm it. </p>";
              ?>
          <form id="Passwordform" name="Passwordform" method="post" action="">
            <table>
              <tr>
                <td><label for="password1">Password:</label></td>
                <td><span id="ValidatePasswordWidget">
                  <input name="password1" type="password" id="password1" value="" size="20" maxlength="20"/>
                  <span class="passwordRequiredMsg">A value is required.</span>
                  <span class="passwordMinCharsMsg">The minimum number of characters not met.</span>
                  <span class="passwordMaxCharsMsg">The maximum number of characters exceeded.</span>
                  <span class="passwordInvalidStrengthMsg">The password strength condition not met.</span>
                  <span class="passwordCustomMsg">User defined condition not met.</span>
                  </span>
                </td>
              </tr>
              <tr>
                <td><label for="confirmpassword">Re-enter password </label></td>
                <td><span id="ConfirmPasswordWidget">
                  <input type="password" id="confirmpassword" value="" size="20" maxlength="20" />
                  <span class="confirmRequiredMsg">A value is required.</span>
                  <span class="confirmInvalidMsg">The values do not match</span>
                  </span>
                </td>
              </tr>
              <tr>
                <td> </td>
                <td><input type="submit" name="submit" value="Submit" />
                </td>
              </tr>
            </table>
          </form>
          <?php  } else {
                 echo "<p>I'm sorry, but that ACBL number was not found in the database.</p>" ;
                 echo "<p>If you are a member of Unit 174, and haven't joined in the past month, </P>";
                     echo "<p>contact the Unit webmaster at the e-mail link shown below.</p>" ;
             ?>
        </div>
      </div>
    <script type="text/javascript">
        var sprytextfield1      = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"], minChars:7, maxChars:7});
            var password1           = new Spry.Widget.ValidationPassword("ValidatePasswordWidget", {validateOn:["blur"], minAlphaChars:3, minNumbers:1, maxSpecialChars:2, minChars:3, maxChars:8});
            var ConfirmWidgetObject = new Spry.Widget.ValidationConfirm("ConfirmPasswordWidget", "password1", {validateOn: ['blur']});
      </script>
      <!-- InstanceEndEditable -->
      <div id="footer"> <img src="images/ACBL Logo.gif" alt="ACBL Logo" width="58" height="55"class="left_image" /> <img src="images/Houston Logo-Small.png" alt="Unit 174 Logo" width="55" height="55" class="right_image"/>
        <h1>These pages &copy;ACBL Unit 174, All rights reserved.</h1>
        <p>This site maintained by the <a href="mailto:[email protected]">Unit 174 Webmaster</a>.</p>
        <p><a href="http://www.ACBLUnit174.org">www.ACBLUnit174.org</a></p>
        <!--End footer div-->
      </div>
      <!--End container div-->
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("NavList", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd -->
    </html>
    <?php
    mysql_free_result($rsACBLNumber);
    ?>

    Folks -
    I have narrowed down the cause.
    This error appears if the form to which the confirm validation is applied is inside an if condition that is not met, causing the form not to appear in the html source.  It doesn't seem to affect the password validation similarly, just the confirm validation.
    Doesn't this have to be bug?  I'm not fluent in Javascript, so I'd sure appreciate someone telling my how to work around this.
    This is the structure that causes the error to be generated, but only when condition is FALSE.  If condition is TRUE, no error is generated.
    <?php if (condition) { ?>
      form with confirm validation
    <?php }; ?>
    Help anyone?

  • Spry Validation widgets not working on local WAMP server

    I just started the process of creating a contact page. I got the client side done last night, woke up this morning and panicked. The spry validation widgets weren't working anymore. I re-did the entire page and realized it was only the contact.html page in the wamp directory that wasn't working. All the needed CSS and javascript assets are there and in the proper folders, so what's up?
    (I'm still in the middle of the lynda.com series Dreamweaver CS5 with PHP and MySQL , so I'm not even certain where I'm heading just yet. I'm doing stuff as I think I understand it.)

    OK, this is interesting. It works online, but not in local cache.
    Here's the contact page on my website: http://www.ladyhawkslair.com/contact.html (So far, GNDN: goes nowhere; does nothing.)
    And here's the WAMP version: http://www.ladyhawkslair.com/wamp/contact.html
    worky-worky online.
    No worky-worky when I preview in Firefox on my system.
    Wait. Hold that thought.
    I only refuses to work when I preview it in Firefox THROUGH Dreamweaver. Let me test again.
    Verified.
    The spry widgets don't work when I load them to Firefox WITH Dreamweaver. Interestingly, it works with IE.
    Any ideas, Gramps?

Maybe you are looking for

  • How to find out the Time necessary to produce something?

    Hello all, please help me in this issue. *{color:#0000ff}I need to find out the amount of time a machine will spend doing some quantity of a product.{color}* {color:#008080}*I have a Machine-A which is able to produce _1000 _unities per hour (1 hour

  • In outlook 2010 can you change the meeting organizer?

    I need to subsitute a co-worker as the organizer of a meeting setup in Outlook 2010.  Can/How do I do that?

  • System gives error msg "balance in transaction currency"

    Hi, when we run t-code VF02 ,after giving billing document number , when we select release to accounting system gives following error message Balance in transaction currency Message no. F5702 Diagnosis A balance has occurred in transaction currency '

  • Numeric, date field data to be in English format

    My Characterset on 10g AS & 10gdb, NLS_LANG=ARABIC_KUWAIT.AR8MSWIN1256 In my all arabic screen numerical number & date fields are in arabic. Instead all numeric & date fields should be in English. I have tried settting NLS_LANG=AMERICAN_AMERICA.AR8MS

  • Producing PDF files on the fly

    I'm on a team of three developers. Unfortunately, all are novice level. We need to create PDF reports from data retrieved from the database. We are already displaying this information in a JSP page. I know there are some options out there. We just do