Re: [PHP] Re: email validation (no regex)

2005-09-21 Thread J B
On 9/21/05, Michael Sims [EMAIL PROTECTED] wrote: Additionally, some mail servers unconditionally accept mail addressed to ANY username at their domain, whether that user actually exists or not. This is very bad practice, because it usually means the accepting MTA is a dumb host that has

Re: [PHP] Encoding or obfuscating tool

2005-09-18 Thread J B
On 9/18/05, Rory Browne [EMAIL PROTECTED] wrote: Personally I would be more interested in hearing how you can justify obfuscating code before delivering it to a client. For the same reasons that most commercial software houses that distribute compiled software in binary form don't include the

Re: [PHP] Problems with strings being handled like numbers

2005-09-15 Thread J B
On 9/14/05, Richard Lynch [EMAIL PROTECTED] wrote: mssql_* and PHP know that the data is supposed to be integer But the largest integer that PHP can store is 0x. So when PHP tries to accept the integer from mssql_fetch_row, it's got no room to store it as integer, and HAS to

[PHP] Problems with strings being handled like numbers

2005-09-13 Thread J B
I suspect I'm far from the first person to have this problem, but I can't seem to find the right search terms to locate the solution. Basically, I'm doing a database query and dumping the results into an array. Then, later, when I try to display the contents of the array, I run into problems.

Re: [PHP] Problems with strings being handled like numbers

2005-09-13 Thread J B
On 9/13/05, Chris [EMAIL PROTECTED] wrote: Are you sure you're getting the number as you need it from the query? PHP won't (though I guess there could be a bug) automatically convert a numerical string into it's numerical equivalent. If the code you posted produces this problem, then the