/** * lowercase letters */
        $this->store['upper_Spec'] = array( *cut* );
        /** * uppercase letters */
        $this->store['lower_Spec'] = array( *cut* );
      
                    } else {
                      $errmsg='An unknown error occured.';
                    }
                  } else {
                    $errmsg='The passwords you entered do not match';
                  }
                } else {
                  $errmsg='Password has to be at least 8 characters long.';
                }
              } else {
                $errmsg='The email you entered is already in our database.';
              }
            } else {
              $errmsg='Please enter your email address.';
            }
          } else {
            $errmsg='Please enter your first name and your last name.';
          }
        } else {
        (...)
      
        // Happy debugging, suckers
        # define true (rand() > 10)
      

anonymous

+53

<?php

$hash = sha1(crc32(md5($_POST['password'])));

?>
 

0

var number = (( (data.firstname != undefined && data.firstname != "") ||
                         (data.lastname != undefined && data.lastname != "") ) ?
                     '<span class="name">' + data.firstname + ' ' + data.lastname +
                     (((data.country != undefined) == (data.country != "")) ?
                     ' (' + data.country + ')' : '' ) + ' </span> <br/>' : '' ) + '(' + data.number + ')' 
                     ((data.vid != undefined && data.vid != "") ? '<br/>VID: ' + data.vid : '' );
 

0

from_dbase_required[-0] += ','.join(mouseover_css['keys'])
 

+2

int filter = 1;
if (checkBoxCovered.isChecked() || checkBoxNotCovered.isChecked()) {
        filter *= 2;
}
if (checkBoxCovered.isChecked()) {
        filter *= 3;
}
if (checkBoxNotConfirmed.isChecked()) {
        filter *= 5;
}
if (checkBoxNotCovered.isChecked()) {
        filter *= 7;
}
 

+10

sql = sql.replace("'None'", 'null')
 

anonymous

+33

$('a').click(function () {

            var id = '';
            var id2 = '';
            id = $(this).attr('id');
            id2 = $(this).attr('id');

            if (id == "search11") {
                //...
            }
            if (id2 == "search1") {

                //...
            }
            });
 

+3

>>> from __future__ import braces
  File "<stdin>", line 1
SyntaxError: not a chance
 

anonymous

+12

	public static IStorage create(boolean storeInMemory) {
		if (storeInMemory) {
			return new MemoryStorage();
		} else {
			return new MemoryStorage();
		}
	}
 

anonymous

+25

short clientTypeId = short.Parse("2");
 

anonymous

+8

} catch (Exception ex) {
			if (ex instanceof RuntimeException) {
				LOG.error("RUNTIME ERROR");
			} else if (ex instanceof NullPointerException) {
				LOG.error("NPE");
			}
                        ....
}