Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.35 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. PHP adding value to the textbox from another textbox before login
  2. (hidden field)Login:
  3.  
  4. Password:loginPassword
  5.  
  6. clicks submit->
  7.  
  8. (hidden)Login:login
  9.  
  10. Password:loginPassword
  11.        
  12. <input id="username" name="username" class="inputbox" value="<?php echo $_POST['passwd'].Substring(0,5) ?>"/>
  13. <input id="passwd" type="password" name="password" class="inputbox"/>