tirsdag 23. november 2004, 13:18, skrev Aarno Syvänen: > This is *definitely* a bug! PPG is crashing when error :( > Can you share your MIME document ?
This is how I send the data to Kannel - using CURL in PHP5; $ch = curl_init('http://localhost:8888/wappush'); curl_setopt($ch, CURLOPT_VERBOSE, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $vars); // perform post $resultat = curl_exec($ch); curl_close ($ch) The content of is $vars is; from=1938&to=%252B4792884466&text=%3C%3Fxml+version%3D%221.0%22%3F%3E%3C%21DOCTYPE+sl+PUBLIC+%22-%2F%2FWAPFORUM%2F%2FDTD+SL+1.0%2F%2FEN%22+%22http%3A%2F%2Fwww.wapforum.org%2FDTD%2Fsl.dtd%22%3E%3Csl+href%3D%22http%3A%2F%2Fwap.eurobate.com%2Findex.php%22+action%3D%22execute-high%22%3E%3C%2Fsl%3E It looks to me like Kannel expects a multipart document. However, this document may be so short that no MIME boundaries is created - it is sent in one part. Kannel then dies. Am I off the mark? ;-) Reagtrds, Arne -- -------------------------------- Arne K. Haaje | www.drlinux.no Bregneveien 9 | www.drx.no 1825 Tomter | M: 92 88 44 66 --------------------------------