ID: 34004 Updated by: [EMAIL PROTECTED] Reported By: kenji at neojin dot com -Status: Open +Status: Feedback Bug Type: *Web Server problem Operating System: windows xp PHP Version: 5.0.4 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2005-08-05 10:44:35] kenji at neojin dot com Description: ------------ A windows erreor in php5ts.dll with windows xp and apache : php5ts.dll crashes apache 2.0.54 version php5ts.dll : 5.0.4.4 signature : szAppNAme : Apache.exe szAppVer : 2.0.54.0 szModName : php5ts.dll szModVer : 5.0.4.4 offset : 0003b927 I have uninstall php and reinstall it five times but the error is alaways the same Reproduce code: --------------- function sansaccent($chaine){ return strtr($chaine,'àâäåãáÂÄÀÅÃÁæÆçÇéèêëÉÊËÈïîìíÏÎÌÍñÑöôóòõÓÔÖÒÕùûüúÜÛÙÚÿ','aaaaaaaaaaaaaacceeeeeeeeiiiiiiiinnoooooooooouuuuuuuuy'); } //creation du fichier xml $result = $Bdd -> Send_Query("SELECT * FROM file_xml"); if($objet = $Bdd -> get_object($result)){ $id_file = $objet -> id_file_xml; } if($id_file<>''){ if(file_exists('../../cache/liste'.$id_file.'.xml')){ @unlink('../../cache/liste'.$id_file.'.xml'); } $Bdd -> Send_Query("DELETE FROM file_xml"); } $Bdd -> Send_Query("INSERT INTO file_xml (date,heure) VALUES (now(),now())"); $id_xml = $Bdd -> insert_id(); /*$xml = '<?xml version="1.0" encoding="UTF-8" ?>';*/ $xml .= '<main>'; $i = 1; $result = $Bdd -> Send_Query("SELECT * FROM maisons"); while($objet = $Bdd -> get_object($result)){ $nom = stripslashes($objet -> m_nom); $xml .= '<cubor id="'.$i.'" nom="'.sansaccent($nom).'"> <methode type="" /> <temps meilleur="" moyenne=""/> <lieu departement="" numero="'.$objet -> m_dpt.'" /> <courriel adresse="" site="maison_presentation_'.$objet -> id_maisons.'.html"/> </cubor>'; } $xml .= '</main>'; $handle = fopen('../../cache/liste'.$id_xml.'.xml', 'w+'); fwrite($handle, $xml); fclose($handle); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34004&edit=1