Php > Algorithms
A class to put get and post variables in hidden form
A class to put get and post variables in hidden form class c_HiddenVars { function display($a) { $c = Count($a); for ($i = 0, Reset($a); $i < $c; $i++, Next($a)) { $k = Key($a); $v = $a[$k]; if (is_array($v)) { $vc = Count($v); for (Reset($v), $vi = 0; $vi < $vc; $vi++, Next($v)) { $vk = Key($v); echo "
\n"; } } else { echo "
\n"; } } } function get() { global $HTTP_GET_VARS; if (is_array($HTTP_GET_VARS)) { $this->display ($HTTP_GET_VARS); } } function post() { global $HTTP_POST_VARS; if (is_array($HTTP_POST_VARS)) { $this->display ($HTTP_POST_VARS); } } function all() { $this->get(); $this->post(); } }; ?>
Php Codes
Algorithms
Arrays
Authentication
Calendar
Code Snippets
Programs
Content Manage
Contest Related
Cookies
Credit Cards
DBase Related
Databases
Date Time
Directories
E-Mail
Errors
File
File System
Forms
Handling
Graphics
HTML and PHP
Informix
Ingres
InterBase
LDAP
Look and Feel
Miscellaneous
MySQL
Other
PHP Classes
Searching
Navigation
Statistics
Strings
User Manage