summaryrefslogtreecommitdiffstats
path: root/main.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-10-03 21:37:37 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2022-10-03 21:37:37 +0200
commit87607d3b6429bd187827993f5b34da7834686a16 (patch)
tree8c77c445c56ef54a53302a15d9f56f7ad6dd0f57 /main.php
parentreadme typo fix in omemba dostopa prek spleta (diff)
downloadgimsisextclient-87607d3b6429bd187827993f5b34da7834686a16.tar
gimsisextclient-87607d3b6429bd187827993f5b34da7834686a16.tar.gz
gimsisextclient-87607d3b6429bd187827993f5b34da7834686a16.tar.bz2
gimsisextclient-87607d3b6429bd187827993f5b34da7834686a16.tar.lz
gimsisextclient-87607d3b6429bd187827993f5b34da7834686a16.tar.xz
gimsisextclient-87607d3b6429bd187827993f5b34da7834686a16.tar.zst
gimsisextclient-87607d3b6429bd187827993f5b34da7834686a16.zip
Diffstat (limited to 'main.php')
-rw-r--r--main.php34
1 files changed, 17 insertions, 17 deletions
diff --git a/main.php b/main.php
index 53cdc43..594753d 100644
--- a/main.php
+++ b/main.php
@@ -80,22 +80,22 @@ Errors:
private $programdomain = 'gimsisextclient.gimb.tk';
private $cookiedir; // set at runtime, ker je get_curerent_user, v login()
private $mailbox = "/home/gimb/Mailbox";
- private $gimsisextlogin = "https://zgimsis.gimb.org/gse/Logon.aspx";
- private $gimsisexturnik = "https://zgimsis.gimb.org/gse/Page_Gim/Ucenec/DnevnikUcenec.aspx";
- private $gimsisextocenjevanja = "https://zgimsis.gimb.org/gse/Page_Gim/Ucenec/IzpitiUcenec.aspx";
- private $gimsisextocene = "https://zgimsis.gimb.org/gse/Page_Gim/Ucenec/OceneUcenec.aspx";
- private $gimsisextprofesorji = "https://zgimsis.gimb.org/gse/Page_Gim/Ucenec/UciteljskiZbor.aspx";
- private $gimsisextprofil = "https://zgimsis.gimb.org/gse/Page_Gim/Uporabnik/Profil.aspx";
- private $gimsisextshraniprofil = "https://zgimsis.gimb.org/gse/WS_Gim/wsGimSisUtils.asmx/ShraniUporabnikPodatki";
- private $gimsisextabout = "https://zgimsis.gimb.org/gse/About.aspx";
- private $gimsisextdefault = "https://zgimsis.gimb.org/gse/Default.aspx";
- private $gimsisextsporocila = "https://zgimsis.gimb.org/gse/Page_Gim/Uporabnik/Sporocila.aspx";
- private $gimsisextposljisporocilo = "https://zgimsis.gimb.org/gse/Page_Gim/Uporabnik/modSporocilo.aspx?params=";
- private $gimsisextsetgeslo = "https://zgimsis.gimb.org/gse/WS_Gim/wsGimSisUtils.asmx/ShraniUporabnikGeslo";
- private $gimsisextizbrisisporocilo = "https://zgimsis.gimb.org/gse/Page_Gim/Uporabnik/Sporocila.aspx/DeleteMessage";
- private $gimsisextizostanki = "https://zgimsis.gimb.org/gse/Page_Gim/Ucenec/IzostankiUcenec.aspx";
- private $gimsisextresetgeslo = "https://zgimsis.gimb.org/gse/ResetPassword.aspx";
- private $gimsisextmodsporocilo = "https://zgimsis.gimb.org/gse/Page_Gim/Uporabnik/modSporocilo.aspx";
+ private $gimsisextlogin = "https://zgimsis.gimb.org/Logon.aspx";
+ private $gimsisexturnik = "https://zgimsis.gimb.org/Page_Gim/Ucenec/DnevnikUcenec.aspx";
+ private $gimsisextocenjevanja = "https://zgimsis.gimb.org/Page_Gim/Ucenec/IzpitiUcenec.aspx";
+ private $gimsisextocene = "https://zgimsis.gimb.org/Page_Gim/Ucenec/OceneUcenec.aspx";
+ private $gimsisextprofesorji = "https://zgimsis.gimb.org/Page_Gim/Ucenec/UciteljskiZbor.aspx";
+ private $gimsisextprofil = "https://zgimsis.gimb.org/Page_Gim/Uporabnik/Profil.aspx";
+ private $gimsisextshraniprofil = "https://zgimsis.gimb.org/WS_Gim/wsGimSisUtils.asmx/ShraniUporabnikPodatki";
+ private $gimsisextabout = "https://zgimsis.gimb.org/About.aspx";
+ private $gimsisextdefault = "https://zgimsis.gimb.org/Default.aspx";
+ private $gimsisextsporocila = "https://zgimsis.gimb.org/Page_Gim/Uporabnik/Sporocila.aspx";
+ private $gimsisextposljisporocilo = "https://zgimsis.gimb.org/Page_Gim/Uporabnik/modSporocilo.aspx?params=";
+ private $gimsisextsetgeslo = "https://zgimsis.gimb.org/WS_Gim/wsGimSisUtils.asmx/ShraniUporabnikGeslo";
+ private $gimsisextizbrisisporocilo = "https://zgimsis.gimb.org/Page_Gim/Uporabnik/Sporocila.aspx/DeleteMessage";
+ private $gimsisextizostanki = "https://zgimsis.gimb.org/Page_Gim/Ucenec/IzostankiUcenec.aspx";
+ private $gimsisextresetgeslo = "https://zgimsis.gimb.org/ResetPassword.aspx";
+ private $gimsisextmodsporocilo = "https://zgimsis.gimb.org/Page_Gim/Uporabnik/modSporocilo.aspx";
public function setusername($value) {
$this->username = $value;
}
@@ -355,7 +355,7 @@ Errors:
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Content-Type: application/json',
'X-Requested-With: XMLHttpRequest',
- 'Referer: https://zgimsis.gimb.org/gse/Page_Gim/Uporabnik/modVnosPodatki.aspx?params='.base64_encode("Id=".$this->username."|Type=")
+ 'Referer: https://zgimsis.gimb.org/Page_Gim/Uporabnik/modVnosPodatki.aspx?params='.base64_encode("Id=".$this->username."|Type=")
));
$postbody = '{ "aPodatki": "'.base64_encode($podatki).'" }';
curl_setopt($ch, CURLOPT_POSTFIELDS, $postbody);