| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Jan 2007 Location: Melbourne
Posts: 1,714
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | php filter problem I could swear this was working before but all of a sudden it isnt. PHP Code: PHP Code: |
| |
| | #2 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Not going to be able to help much without seeing all the relevant code. However the most likely cause is the fact 0 is boolean for false.
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |
| | THREAD STARTER #3 (permalink) |
| Senior Member Join Date: Jan 2007 Location: Melbourne
Posts: 1,714
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Exactly what I was thinking as I had a similar problem with checking for a valid boolean input but I sorted that out. What troubles me with this is that I am 99% sure the code was working before. Will have a look later and see what other code might be relevant and post it but I think thats the main bit since it returns "Range is between -1000000000 and 1000000000" when either min or max is 0. |
| |