[PHP] ASCII Chars Only

2006-06-03 Thread Richard Collyer
Hello, Trying to get the following working. I am trynig to select only ASCII characters (not extended ASCII) so that if the string contains characters outside the 32 - 126 range of good characters then $Discard is returned as 0. But it is going overboard telling me that every character is

Re: [PHP] ASCII Chars Only

2006-06-03 Thread Rabin Vincent
On 6/3/06, Richard Collyer [EMAIL PROTECTED] wrote: Hello, Trying to get the following working. I am trynig to select only ASCII characters (not extended ASCII) so that if the string contains characters outside the 32 - 126 range of good characters then $Discard is returned as 0. But it is

Re: [PHP] ASCII Chars Only

2006-06-03 Thread Richard Collyer
Rabin Vincent wrote: On 6/3/06, Richard Collyer [EMAIL PROTECTED] wrote: Hello, Trying to get the following working. I am trynig to select only ASCII characters (not extended ASCII) so that if the string contains characters outside the 32 - 126 range of good characters then $Discard is