No he dicho que no funcione, simplemente que no es código que sirva a plenitud.
Hace uso de funciones obsoletas, por ende yo no usaría algo así.
Edito: es mas, acabo de probar tu código y me da esto:
Cita: PHP Deprecated: Function eregi_replace() is deprecated in /www/vhosts/tests/hash.php on line 5
PHP Stack trace:
PHP 1. {main}() /www/vhosts/tests/hash.php:0
PHP 2. html_reconocerparam() /www/vhosts/tests/hash.php:18
Deprecated: Function eregi_replace() is deprecated in /www/vhosts/tests/hash.php on line 5
Call Stack:
0.0002 228160 1. {main}() /www/vhosts/tests/hash.php:0
0.0003 228856 2. html_reconocerparam() /www/vhosts/tests/hash.php:18
PHP Deprecated: Function eregi_replace() is deprecated in /www/vhosts/tests/hash.php on line 6
PHP Stack trace:
PHP 1. {main}() /www/vhosts/tests/hash.php:0
PHP 2. html_reconocerparam() /www/vhosts/tests/hash.php:18
Deprecated: Function eregi_replace() is deprecated in /www/vhosts/tests/hash.php on line 6
Call Stack:
0.0002 228160 1. {main}() /www/vhosts/tests/hash.php:0
0.0003 228856 2. html_reconocerparam() /www/vhosts/tests/hash.php:18
PHP Deprecated: Function eregi_replace() is deprecated in /www/vhosts/tests/hash.php on line 7
PHP Stack trace:
PHP 1. {main}() /www/vhosts/tests/hash.php:0
PHP 2. html_reconocerparam() /www/vhosts/tests/hash.php:18
Deprecated: Function eregi_replace() is deprecated in /www/vhosts/tests/hash.php on line 7
Call Stack:
0.0002 228160 1. {main}() /www/vhosts/tests/hash.php:0
0.0003 228856 2. html_reconocerparam() /www/vhosts/tests/hash.php:18
PHP Notice: Undefined variable: boardurl in /www/vhosts/tests/hash.php on line 8
PHP Stack trace:
PHP 1. {main}() /www/vhosts/tests/hash.php:0
PHP 2. html_reconocerparam() /www/vhosts/tests/hash.php:18
Notice: Undefined variable: boardurl in /www/vhosts/tests/hash.php on line 8
Call Stack:
0.0002 228160 1. {main}() /www/vhosts/tests/hash.php:0
0.0003 228856 2. html_reconocerparam() /www/vhosts/tests/hash.php:18