summaryrefslogtreecommitdiffstats
path: root/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'main.php')
-rw-r--r--main.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/main.php b/main.php
index 2d50611..065e0c5 100644
--- a/main.php
+++ b/main.php
@@ -490,9 +490,6 @@ Errors:
}
}
}
- // file_put_contents("/tmp/m".$stran.".json", json_encode($msgkat)); // debug
- // file_put_contents("/tmp/krneki".$stran.".txt", $postbody); // debug
- // file_put_contents("/tmp/o".$stran.".txt", $sporocilaseznam_output); // debug
}
return $msgkat;
}
@@ -504,7 +501,6 @@ Errors:
curl_setopt($ch, CURLOPT_URL, $this->gimsisextmodsporocilo."?params=IdMsg%3D".explode("|", $id)[0]);
curl_setopt($ch, CURLOPT_POST, 0);
$sporocilo_output = curl_exec($ch);
- file_put_contents("/tmp/as2.txt", $sporocilo_output);
$zadeva = html_entity_decode(get_string_between($sporocilo_output, '<input name="ctl00$ModalMasterBody$edtZadeva" type="text" value="', '" id="ctl00_ModalMasterBody_edtZadeva" />'));
$telo = html_entity_decode(html_entity_decode(get_string_between($sporocilo_output, "&lt;/span&gt;&lt;/p&gt;", "</textarea>")));
$posiljatelj = html_entity_decode(html_entity_decode(get_string_between($sporocilo_output, "&gt;&lt;b&gt;Od&lt;/b&gt;: ", "&lt;br /&gt;&lt;b&gt;Poslano&lt;/b&gt;: "))); // ne trudi se za prejemnika, gimsisglitch(C)12