admin

admin

Posts

  • Uploading multiple files – jquery+php

    Strategy: Initiate 3 file input box, put Add button on top of the form to... Read More »
  • Handling long-press event

    On desktop, to handle long-press event, we can utilize mousedown/mouseup event, with setTimeout to control... Read More »
  • Passing parameters to event handler, setTimeout

    Passing params to event handler using proxy. $("#id").on('mousedown', $.proxy( ()=>{     deleteFile( id );... Read More »
  • SQL Server export data – 5 ways

    Apart from using DTS and Export wizard, we can also use this query to export... Read More »
  • usp_Email_AutomationScorecard

    use BusinessSuite go if object_id('dbo.tbl_Email_Report') is not null drop table dbo.tbl_Email_Report if object_id('dbo.tbl_Email_Report_List') is not... Read More »
  • Send report in the attachment from database

    Project: automation report Base data: BluePrism automation data Architecture: create report as string with tab... Read More »
  • JavaScript get hostname from URL

    document.location.href = "http://aaa.bbb.ccc.com/first/second/abc.aspx?parm" window.location.host :          sub.domain.com:8080 or sub.domain.com:80 window.location.hostname :  sub.domain.com window.location.protocol :  http: window.location.port :     ... Read More »
  • SQL Server Date and Time Conversions

    Problem There are many instances when dates and times don’t show up at your doorstep... Read More »
  • Google正式开放.app域名的注册

    站长之家网站 2018-05-02 站长之家(Chinaz.com)5月2日消息:2015 年,谷歌公司以约 2500 万美元的价格拍下顶级域名.app,本次交易创下了顶级域名至今最高额交易记录。 据CnBeta消息,今天Google正式开放了.app域名的注册,并声称是全球首个需要HTTPS加密的顶级域名。目前大多数网站已经使用HTTPS加密,但是根据Mozilla提供的数据依然有32%的网站并未使用HTTPS对其进行加密。 据了解,自北京时间 5 月 2 日零点开始至 5 月 7 日,用户可以通过谷歌的Early... Read More »
  • PHP paths

    //parse_url: https://(www.)example.com/subFolder/yourfile.php?var=blabla#555 $x = parse_url($url); $x['scheme'] 🡺 https $x['host'] 🡺 example.com $x['path'] 🡺 /subFolder/yourfile.php $x['query']... Read More »