<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 10pt; color: #000000'><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; ">Try to change lines 46 and 58 as follows</div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; ">Line 46:</div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; "><span class="Apple-style-span" style="font-family: monospace; font-size: 11px; background-color: rgb(255, 255, 255); "><span class="k" style="font-weight: bold; ">current</span></span></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; "><span class="Apple-style-span" style="font-family: monospace; font-size: 11px; background-color: rgb(255, 255, 255); "><span class="k" style="font-weight: bold; ">   if</span> <span class="p">(</span><span class="o" style="font-weight: bold; ">!</span><span class="nx">preg</span><span class="p">(</span><span class="s2" style="color: rgb(187, 136, 68); ">"/$"</span><span class="p">,</span> <span class="nv" style="color: rgb(0, 128, 128); ">$path_to_file</span><span class="p">))</span> <span class="nv" style="color: rgb(0, 128, 128); ">$path_to_file</span> <span class="o" style="font-weight: bold; ">=</span> <span class="nv" style="color: rgb(0, 128, 128); ">$path_to_file</span><span class="o" style="font-weight: bold; ">.</span><span class="s2" style="color: rgb(187, 136, 68); ">"/"</span><span class="p">;</span></span></div><div style="color: rgb(0, 0, 0); "><font class="Apple-style-span" face="Arial" size="2"><span class="Apple-style-span" style="font-family: monospace; font-size: 11px; font-weight: bold; background-color: rgb(255, 255, 255); "><br></span></font></div><div style="color: rgb(0, 0, 0); "><font class="Apple-style-span" face="Arial" size="2"><span class="Apple-style-span" style="font-family: monospace; font-size: 11px; font-weight: bold; background-color: rgb(255, 255, 255); ">to fix the problem</span></font></div><div style="color: rgb(0, 0, 0); "><font class="Apple-style-span" face="Arial" size="2"><span class="Apple-style-span" style="font-family: monospace; font-size: 11px; font-weight: bold; background-color: rgb(255, 255, 255); ">   </span></font><span class="Apple-style-span" style="font-family: monospace; font-size: 11px; background-color: rgb(255, 255, 255); "><span class="k" style="font-weight: bold; ">if</span> <span class="p">(</span><span class="o" style="font-weight: bold; ">!</span><span class="nx">preg_match</span><span class="p">(</span><span class="s2" style="color: rgb(187, 136, 68); ">"/$/"</span><span class="p">,</span> <span class="nv" style="color: rgb(0, 128, 128); ">$path_to_file</span><span class="p">))</span> <span class="nv" style="color: rgb(0, 128, 128); ">$path_to_file</span> <span class="o" style="font-weight: bold; ">=</span> <span class="nv" style="color: rgb(0, 128, 128); ">$path_to_file</span><span class="o" style="font-weight: bold; ">.</span><span class="s2" style="color: rgb(187, 136, 68); ">"/"</span><span class="p">;</span></span></div><div style="color: rgb(0, 0, 0); "><span class="Apple-style-span" style="font-family: monospace; font-size: 11px; background-color: rgb(255, 255, 255); "><span class="p"><br></span></span></div><div style="color: rgb(0, 0, 0); "><span class="Apple-style-span" style="font-family: Arial; font-size: 13px; ">Line 58:</span></div><div style="font-family: Arial; font-size: 10pt; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; "><div style="font-family: Arial; font-size: 10pt; "><span class="Apple-style-span" style="font-family: monospace; font-size: 11px; background-color: rgb(255, 255, 255); "><span class="k" style="font-weight: bold; ">current</span></span></div></span><span class="Apple-style-span" style="font-family: monospace; font-size: 11px; background-color: rgb(255, 255, 255); "><span class="nv" style="color: rgb(0, 128, 128); ">   $name</span> <span class="o" style="font-weight: bold; ">=</span> <span class="nb" style="color: rgb(153, 153, 153); ">preg_replace</span><span class="p">(</span><span class="s2" style="color: rgb(187, 136, 68); ">"[^a-z0-9._]"</span><span class="p">,</span> <span class="s2" style="color: rgb(187, 136, 68); ">""</span><span class="p">,</span></span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; "><div style="font-family: Arial; font-size: 10pt; "><span class="Apple-style-span" style="font-family: monospace; font-size: 11px; background-color: rgb(255, 255, 255); "><span class="k" style="font-weight: bold; ">   </span></span></div></span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; "><div><font class="Apple-style-span" face="Arial" size="2"><span class="Apple-style-span" style="font-family: monospace; font-size: 11px; font-weight: bold; background-color: rgb(255, 255, 255); ">to fix the problem</span></font></div></span><span class="Apple-style-span" style="font-family: monospace; font-size: 11px; background-color: rgb(255, 255, 255); "><span class="nv" style="color: rgb(0, 128, 128); ">   $name</span> <span class="o" style="font-weight: bold; ">=</span> <span class="nb" style="color: rgb(153, 153, 153); ">preg_replace</span><span class="p">(</span><span class="s2" style="color: rgb(187, 136, 68); ">"/[^a-z0-9._]/"</span><span class="p">,</span> <span class="s2" style="color: rgb(187, 136, 68); ">""</span><span class="p">,</span></span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; "><div><font class="Apple-style-span" face="Arial" size="2"><span class="Apple-style-span" style="font-family: monospace; font-size: 11px; font-weight: bold; background-color: rgb(255, 255, 255); ">   </span></font></div></span></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; ">Script <b>htdocs\central\dataentry\upload.php </b>also had this problem and was fixed in version 1.1beta1. See <span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><a href="http://reddes.bvsalud.org/projects/abcd/changeset/1128">http://reddes.bvsalud.org/projects/abcd/changeset/1128</a></span></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; ">Let us know if also works for upload_img.php script.</div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; ">Regards,</div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; ">Renato</div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 10pt; "><br><hr id="zwchr"><b>De: </b>"bhowa tg" <bhowatg@gmail.com><br><b>Para: </b>"abcd-users" <abcd-users@listas.bireme.br>, "isis-users" <isis-users@iccisis.org><br><b>Enviadas: </b>Quarta-feira, 12 de Outubro de 2011 4:04:09<br><b>Assunto: </b>[Abcd-users] sos fulltext<br><br><b>Colleagues'<br><br>Fatal error</b>: Call to undefined function preg() in 
<b>C:\ABCD\www\htdocs\central\dataentry\upload_img.php</b> on line <b>46</b><br><br clear="all">solution please...<br>-- <br>bhowa tg<br>Infoprenuer, zimisis<br><a href="mailto:bhowatg@gmail.com" target="_blank">bhowatg@gmail.com</a>  skypeID:  bhowatg<br>
blog: <a href="http://bhowatg.blogspot.com" target="_blank">http://bhowatg.blogspot.com</a><br><a href="http://facebook/bhowa.tg" target="_blank">http://facebook/bhowa.tg</a>; <a href="http://twitter.com/bhowatg" target="_blank">http://twitter.com/bhowatg</a><br><a href="http://www.zimisis.co.cc" target="_blank">www.zimisis.co.cc</a><br>
<br><br>"there are two equally dangerous extremes-<br>to shut reason out and to let nothing else in"<br>                                     Pascal, 1670<br><br><br><br>
<br>_______________________________________________<br>Abcd-users mailing list<br>Abcd-users@listas.bireme.br<br>http://listas.bireme.br/mailman/listinfo/abcd-users<br></div></div></body></html>