[FX.php List] Leading zero getting dropped in a login

Steve Winter steve at bluecrocodile.co.nz
Mon Jan 28 15:03:47 MST 2008


Hi Jon,

Have you been able to confirm when the 0 is getting dropped...? 

Does it vanish from the text field when the form is being posted..? maybe
some validation Javascript is doing it...??

Does it appear on the page that it's posted to. Have you tried 
  echo '<pre>';
  print_r($_REQUEST);
  echo '</pre>';
On that page to ensure that the 0 is making it that far...?

When you turn on debug (by placing define('DEBUG', true) before your call to
FX, does the zero appear in the resultant URL...??

Just a few ideas that could be useful to track down where it's going
missing... once you know that it might help figure out where it's going...
;-)

Cheers
Steve

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Jon Montgomery
Sent: Monday, 28 January 2008 9:28 p.m.
To: FX.php_List at mail.iviking.org
Subject: [FX.php List] Leading zero getting dropped in a login

I have a login page where the user enters an id number.  Some of those id
numbers have leading zeros  such as 0427.  All of a sudden, when clicking
the login button the zero is dropped.  It has worked because several users
have entered information but now it is dropping the leading zero.

What can I do to fix this?

Jon Montgmery


_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.13/1246 - Release Date: 27/01/2008
6:39 p.m.
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.13/1246 - Release Date: 27/01/2008
6:39 p.m.
 




More information about the FX.php_List mailing list