summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-08 21:40:48 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-08 21:40:48 +0100
commit530369c88ed9e1fd67d658f9f2487981a193e351 (patch)
tree8e66c763a077028f551191722021e01560ae6f0c
parent0.9.3 (diff)
downloadgimsisextclient-530369c88ed9e1fd67d658f9f2487981a193e351.tar
gimsisextclient-530369c88ed9e1fd67d658f9f2487981a193e351.tar.gz
gimsisextclient-530369c88ed9e1fd67d658f9f2487981a193e351.tar.bz2
gimsisextclient-530369c88ed9e1fd67d658f9f2487981a193e351.tar.lz
gimsisextclient-530369c88ed9e1fd67d658f9f2487981a193e351.tar.xz
gimsisextclient-530369c88ed9e1fd67d658f9f2487981a193e351.tar.zst
gimsisextclient-530369c88ed9e1fd67d658f9f2487981a193e351.zip
-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