From:             ddpm at liscovius dot de
Operating system: 
PHP version:      Irrelevant
Package:          Website problem
Bug Type:         Feature/Change Request
Bug description:[bugs.php.net] search: replace the package_nname select with a 
single checkbox

Description:
------------
Currently, there are 2 selects package_name[] and package_nname[].

These select are having too many options. Selecting all packages in both
of them results in a 24KB GET request which the web server denies.

Also it makes IMHO no sense to have both as there is no logical reason
to have 2 selects as they are AND in the SQL.

Instead as little mitigation use a simple NO checkbox there.

The SQL uses then 

NOT IN(packagelist) instead of

IN(packagelist)

in the WHERE conditions.

Beside simpler form, the requests are now max half the size, around
12KB.
Also too big to be handled by web server, but a step forward.



Actual result:
--------------
Search form is more complex than necessary.



-- 
Edit bug report at https://bugs.php.net/bug.php?id=81480&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=81480&r=fixed
Fixed in release:                 
https://bugs.php.net/fix.php?id=81480&r=alreadyfixed
Need backtrace:                   
https://bugs.php.net/fix.php?id=81480&r=needtrace
Need Reproduce Script:            
https://bugs.php.net/fix.php?id=81480&r=needscript
Try newer version:                
https://bugs.php.net/fix.php?id=81480&r=oldversion
Not developer issue:              
https://bugs.php.net/fix.php?id=81480&r=support
Expected behavior:                
https://bugs.php.net/fix.php?id=81480&r=notwrong
Not enough info:                  
https://bugs.php.net/fix.php?id=81480&r=notenoughinfo
Submitted twice:                  
https://bugs.php.net/fix.php?id=81480&r=submittedtwice
register_globals:                 
https://bugs.php.net/fix.php?id=81480&r=globals
PHP version support discontinued: 
https://bugs.php.net/fix.php?id=81480&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=81480&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=81480&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=81480&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=81480&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=81480&r=nozend
MySQL Configuration Error:        
https://bugs.php.net/fix.php?id=81480&r=mysqlcfg

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to