Jump to content
uniGUI Discussion Forums

erich.wanker

uniGUI Subscriber
  • Content Count

    646
  • Joined

  • Last visited

  • Days Won

    22

erich.wanker last won the day on November 8 2019

erich.wanker had the most liked content!

Community Reputation

58 Excellent

1 Follower

About erich.wanker

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Location
    Europe / Austria / Salzburger Land / Bad Hofgastein
  • Interests
    Delphi with uniGUI ;-)

Recent Profile Visitors

2116 profile views
  1. Hello, please can someone help me with this "basic" question? i want to save a file with Fileupload in a database (BLOB Field of Firebird SQL Server) and i want to send file from Database to Client.. Has someone a example - how to do that ? AND: how can i Signature any document - before i store it in Database ( i must make a auditable System ) ThanX for help Erich
  2. erich.wanker

    uniGUI Quasar - Linux Support ?? WHY

    Hello, short stupid questions: does it mean - that i can create a similar thing like unigui.dll just for linux? is the result a Shared Objects (*.so) files what i can upload to an linux-webhoster-standard-server? Must i switch to Lazarus? ..actual i use Delphi XE4 in delphi - i user a reportdesigner to produce PDF files - what soultuion can i use in the future? is the performance higher on a linux system (running a shared object <-> running a dll on windows) ? if Quasar is ready to use - is the basic avantage the "cheaper webhosting" ? - or are there other avantages? ThanX for infos Erich
  3. erich.wanker

    OffTopic: Secure Apache Webserver ...

    Hi folks, i found out, what someone "tests" my apache webserver ... to find a way in .. Question: is it possible to put a ip-adress AUTOMATICALY on a black list - if the ip adress calls as example 5 or more not existing php files? .. the "bad guy" tries to find some way into the server .. wp-config.php, log.php, index.php, user.php, ... we are talking about hundreds of tries ... and a lot of random stuff... here is a part of my logfile: [Wed Dec 04 14:48:14.445360 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:35110] script 'C:/VersatileServer/htdocs/tty.php' not found or unable to stat [Wed Dec 04 14:48:16.164077 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:35219] script 'C:/VersatileServer/htdocs/ooi.php' not found or unable to stat [Wed Dec 04 14:48:16.648442 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:35548] script 'C:/VersatileServer/htdocs/aap.php' not found or unable to stat [Wed Dec 04 14:48:17.148402 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:35625] script 'C:/VersatileServer/htdocs/app.php' not found or unable to stat [Wed Dec 04 14:48:19.757753 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:35855] script 'C:/VersatileServer/htdocs/bbr.php' not found or unable to stat [Wed Dec 04 14:48:20.242099 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:36137] script 'C:/VersatileServer/htdocs/ioi.php' not found or unable to stat [Wed Dec 04 14:48:20.726482 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:36185] script 'C:/VersatileServer/htdocs/uuu.php' not found or unable to stat [Wed Dec 04 14:48:21.195221 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:36238] script 'C:/VersatileServer/htdocs/yyy.php' not found or unable to stat [Wed Dec 04 14:48:23.132672 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:36629] script 'C:/VersatileServer/htdocs/shh.php' not found or unable to stat [Wed Dec 04 14:48:26.976355 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:37263] script 'C:/VersatileServer/htdocs/nnn.php' not found or unable to stat [Wed Dec 04 14:48:30.491907 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:37352] script 'C:/VersatileServer/htdocs/rrr.php' not found or unable to stat [Wed Dec 04 14:48:35.366793 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:37902] script 'C:/VersatileServer/htdocs/ttt.php' not found or unable to stat [Wed Dec 04 14:48:42.351036 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:39357] script 'C:/VersatileServer/htdocs/bbqq.php' not found or unable to stat [Wed Dec 04 14:48:42.819756 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:39465] script 'C:/VersatileServer/htdocs/tyrant.php' not found or unable to stat [Wed Dec 04 14:48:46.460329 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:40045] script 'C:/VersatileServer/htdocs/qiqi1.php' not found or unable to stat [Wed Dec 04 14:48:50.382100 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:40648] script 'C:/VersatileServer/htdocs/bbv.php' not found or unable to stat [Wed Dec 04 14:48:50.850858 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:40730] script 'C:/VersatileServer/htdocs/605.php' not found or unable to stat [Wed Dec 04 14:48:51.319618 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:40804] script 'C:/VersatileServer/htdocs/admin1.php' not found or unable to stat [Wed Dec 04 14:48:51.788336 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:40886] script 'C:/VersatileServer/htdocs/xi.php' not found or unable to stat [Wed Dec 04 14:48:52.975819 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:40998] script 'C:/VersatileServer/htdocs/999.php' not found or unable to stat [Wed Dec 04 14:48:54.475788 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:41264] script 'C:/VersatileServer/htdocs/jsc.php' not found or unable to stat [Wed Dec 04 14:48:54.960153 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:41368] script 'C:/VersatileServer/htdocs/jsc.php.php' not found or unable to stat [Wed Dec 04 14:48:56.381999 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:41700] script 'C:/VersatileServer/htdocs/jsc.php' not found or unable to stat [Wed Dec 04 14:48:58.397580 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:41852] script 'C:/VersatileServer/htdocs/11a.php' not found or unable to stat [Wed Dec 04 14:48:58.850689 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:42099] script 'C:/VersatileServer/htdocs/kkl.php' not found or unable to stat [Wed Dec 04 14:48:59.288189 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:42211] script 'C:/VersatileServer/htdocs/ks1.php' not found or unable to stat [Wed Dec 04 14:49:11.850431 2019] [php7:error] [pid 5620:tid 2012] [client [IP of bad guy]:43531] script 'C:/VersatileServer/htdocs/index.php' not found or unable to stat .... .
  4. Hi .. a crazy question :-) my actual situation: i compile my unigui project - and become message "project can just be started if a host application is defined in start|parameters.." open the explorer-folder where the DLL is just compiled stop the apache service copy my DLL in htdoc-folder of apache start webservice start webbrowser .. and take a look - it that (what i changed) works :-) is it possible to do this automaticaly ...??? just press "play" in delphi ?? (without stop/start service, copy files ..) ThanX for help Erich
  5. erich.wanker

    creating many TUniFrame at runtime

    Hello uniguisyriusz i made something like yours, but i create html-DIV s in a UniHTMLFrame ... it is very fast and clean :-) in my example - the "cell" is very big (i use it in many ways - here as menu-point display) ... highlite, image scale funtions and so on are "classic CSS things" but you can create hundreds of small div´s for your solution grid.webm Here is my code - so you can see what i mean and how i solved it: by the way - for the"click-event" on a div - i send the event to mainform-OnAjaxEvent !!!! sent -> onclick="javascript:MainForm.mask.show();ajaxRequest(MainForm.form,'''+ajax_befehl+''',[''param0='+ziel+'''])">'); to -> procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); -----> if EventName='xxx' then begin procedure TMAINMENU.zeichne_Small_Picture; var panel_width:Integer; panel_height:Integer; image_width:Integer; image_height:Integer; begin setze_farben; panel_width:=245; panel_height:=138; image_width:=245; image_height:=138; abszand_panel:=10; abstand_zeile:=30; if last_thing = 1 then begin m_left:=m_left - panel_width; m_top:=m_top+ 145; last_thing:=2; end else begin m_left:=m_left + abszand_panel; last_thing:=1; if m_left + abszand_panel+ panel_width > mainform.display.Width-10 then // och passe nicht rein ! begin m_left:= 10; m_top:=m_top+last_top+abstand_zeile; last_top:=0; end; end; if m_left=10 then m_left:=20; if m_left <0 then m_left:=20; UniHTMLFrame1.HTML.Append(' <div class="newspanel"'); UniHTMLFrame1.HTML.Append(' style="position: absolute; top: '+inttostr(m_top)+'px; left: '+inttostr(m_left)+'px; width: '+inttostr(panel_width)+'px; height: '+inttostr(panel_height)+'px" '); UniHTMLFrame1.HTML.Append(' onclick="javascript:MainForm.mask.show();ajaxRequest(MainForm.form,'''+ajax_befehl+''',[''param0='+ziel+'''])">'); UniHTMLFrame1.HTML.Append(' <IMG STYLE="position: absolute;TOP:0px; LEFT:0px; WIDTH:'+inttostr(image_width)+'px; HEIGHT:'+inttostr(image_height)+'px" SRC="'+bilderquelle+'">'); UniHTMLFrame1.HTML.Append(' <div class="start_abgedunkelt" STYLE="position: absolute;TOP:'+inttostr(trunc(image_height/3))+'px; LEFT:0px; WIDTH:'+inttostr(trunc(image_width))+'px; HEIGHT:'+inttostr(trunc( (image_height/3)*2 ))+'px"></div>'); UniHTMLFrame1.HTML.Append(' <div class="'+kategorieklasse+'"'); UniHTMLFrame1.HTML.Append(' style="position: absolute; top: 50px; left: 10px; width:200px; height: 50px">'); UniHTMLFrame1.HTML.Append(' <span>'+kategorie+'<span>'); UniHTMLFrame1.HTML.Append(' </div>'); UniHTMLFrame1.HTML.Append(' <div class="berichttext textpunkte"'); UniHTMLFrame1.HTML.Append(' style="position: absolute; top: 70px; left: 10px; width:200px; height: 60px; overflow: hidden">'); UniHTMLFrame1.HTML.Append(' <b><FONT face="Roboto" SIZE="4" COLOR="'+textfarbe1+'">'+beschriftung+'</FONT></b><br><FONT face="Arial" SIZE="3" COLOR="'+textfarbe2+'">'+zusatz+'</FONT>'); UniHTMLFrame1.HTML.Append(' </div>'); UniHTMLFrame1.HTML.Append(' <div class="aufhellen"'); UniHTMLFrame1.HTML.Append(' style="position: absolute; top: 0px; left: 0px; width: '+inttostr(panel_width)+'px; height: '+inttostr(panel_height)+'px"> '); UniHTMLFrame1.HTML.Append('</div>'); UniHTMLFrame1.HTML.Append('</div>'); if last_thing = 1 then begin if 136 > last_top then last_top:=135; end; if last_thing = 2 then begin m_top:=m_top-146; last_top:=279; end; m_left:=m_left+ panel_width; end;
  6. erich.wanker

    take Session: .. from one device to another

    Hi Sherzod, NO ;-) but i have such function in my app ASessionList := UniServerModule.SessionManager.Sessions.SessionList; // .SessionList. ist;// .LockList; try for i := 0 to ASessionList.Count - 1 do begin USession := TUniGUISession(ASessionList[i]); m := USession.UniMainModule as TUniMainModule; if uniapplication.UniSession.SessionID <> USession.SessionID then // Do not close my OWN Session begin ..... i mean: if i login on android .. do my work .. and start my desktop-system -> the andoid app closes (works fine!) and the desktop-app shows the same "situation" as i leave the Android-app (i dont CLOSE the android started session - i TAKE the existing session from android and run it on the desktop-device)
  7. Hi .. is it possible to start (as example) a unigui-app on android .. enter username and password ... and if i go to my desktop-system .. start unigui-app .. enter same username and passowrd (andoid app will now close) - AND i have the same "situation" like the android-session ThanX for informations...
  8. Hi Sherzod i use UniGui Professional 1.70.0.1491 .. and not the Mobile solution .. so i dont have this demo .. if possible - i prefere a demo what works with desktop and mobile version of unigui .. ThanX
  9. Hello folks, has anyone a demo how to capture images and videos on android tablet or smartphone..or windows desktop-webcam or notebook frontcam? the pictures and videos should store with a unique number as filename (from database) -with jpg OR mp3 as extension - on the server where the unigui.dll is running ... in folder /files/.... ThnaX for Infos Erich
  10. erich.wanker

    Android Chrome: Click sound on every touch

    inject javascript in ServerModule ... CustomCSS .. please look at screenshot - last 7 lines ..
  11. erich.wanker

    Android Chrome: Click sound on every touch

    QUESTION: performance is bad ... the "var a = new Audio.." is allways creat a audio-element on every touch-event how can i make the click sound FASTER - it takes 0.5 seconds from touch to sound .. a test with following lines makes it NOT better: <script> var a = document.createElement('audio'); a.src = 'files/sound/click.ogg'; window.addEventListener('touchstart', function playAudio() { a.play(); })
  12. erich.wanker

    Android Chrome: Click sound on every touch

    SOLUTION FOUND yes - a manually thing would work ;-) function playAudio() { var a = new Audio('files/sound/click.mp3'); a.play(); } On the things what should click: ClientEvent / extEvent : function click(sender, eOpts) { playAudio(); } BUT FOR ANDROID: ..i found a solution :-) for every "touch" window.addEventListener('touchstart', function playAudio() { var a = new Audio('files/sound/click.mp3'); a.play(); })
  13. Hy, short question .. if i start my UniGui App on Android/ChromeBrowser as a "Progressive Web app" - is it possible to play a sound on every "touch" event ..? .. .. so the user experiance is more "App style" ;-)
  14. erich.wanker

    unload unigui dll on apache with another unigui.dll?

    ok .. i made also a regular VLC app .. designed for a XAMPP - Setup (Apache, php.mysql...) the VLC App creates a "Windows Schedule" for every 24 hours a timer based "loop" system: step 1 -> look if there is a new version online step 2 -> download files step 3 -> close apache webserver service step 4 -> create new folders step 5 -> copy files step 6 -> start apache webserver service step 7 -> write new version number in local file look s good ;-) Erich
  15. Hello.. is it possible to unload (close, kill, set free..) a running unigui-dll (my programm) on apache without stopping apache WITH a other unigui.dll (called updater.dll) ? it´s because installing updates ... My thinkings: 2 unigui-apps are running on apache ... the first one ist the "updater.dll" the second one ist the "programm.dll" updater.dll looks every hour to a predefined url and donloads the files - if there are new versions .. So - "updater.dll" MUST CLOSE all running "programm.dll"-sessions and give it "free" to overwrite it on the filesystem ... ThanX for helping
×