<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><div style="text-align: center;"><span><strong>en español se publicó en otro mensaje</strong></span><br><span id="5575ab96-2ad5-43d6-830e-8a7c33d754c7"></span></div><hr style="width: 100%; height: 2px;"><span id="5575ab96-2ad5-43d6-830e-8a7c33d754c7"><br>Hello everyone!<br><br>Thanks for the contributions. After analysing the script of z3950 and the comments sent we have discovered the problem was in the functions preg_match() and preg_replace().<br><br>These functions are a replacement to ereg and ereg_replace in PHP 5.3 for use with regular expressions. But they have some peculiarities. For example, the following line in z3950-01.php script:<br><br>if (ereg("^\(3,([^)]*)\)\(3,@\)$",$tagpath,$res)) {<br><br>Need to be changed to:<br><br>if (preg_match("/^\(3,([^)]*)\)\(3,@\)$/",$tagpath,$res)) {<br><br>These new functions require a "/" before and after the string contents passed to the function.<br><br>See attached the corrected scripts. Please do some tests and if errors occur, please let us know by sending the error messages and a brief description of the procedures involved in the tests.<br><br>These changes will be included in the next patch.<br><br>Thanks everyone!<br><br>Jussara Ribeiro de Oliveira<br>BIREME/PAHO/WHO<span name="x"></span><br></span><br></div></body></html>