Groups | Search | Server Info | Login | Register


Groups > dk.edb.internet.webdesign.serverside.php > #7305

Re: Accesskontrol

Path csiph.com!aioe.org!.POSTED.O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org!not-for-mail
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups dk.edb.internet.webdesign.serverside.php
Subject Re: Accesskontrol
Date Fri, 8 May 2020 16:06:06 -0400
Organization Aioe.org NNTP Server
Lines 30
Message-ID <r94e3g$vdk$1@gioia.aioe.org> (permalink)
References <xh67umy9vrqc.dlg@lundhansen.dk> <20200506211723.e5462b99ed3150844a1de735@gmail.com> <ylghm8dtqfuw$.dlg@lundhansen.dk> <20200506232650.80b1ee1762c8ae3a05eb2aa4@gmail.com> <r9465g$155o$1@gioia.aioe.org> <20200508213920.ae70fb0856c4fb193ecf4ee1@gmail.com>
NNTP-Posting-Host O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0
Content-Language en-US
X-Notice Filtered by postfilter v. 0.9.2
Xref csiph.com dk.edb.internet.webdesign.serverside.php:7305

Show key headers only | View raw


On 5/8/2020 3:39 PM, Jan Hansen wrote:
> Arne Vajhøj skrev:
>> Normalt foretrækker man at variabelnavne fortæller hvad variablen
>> indeholder.
> 
> Det er sikkert rigtigt nok, hvis man ved hvad man har med at gøre.
> Jeg aner intet om python, og ser en linie med
> 
> def system_to_ntp_time(timestamp):
> 
> Så er det store spørgsmål, hvad er timestamp? Er det en variabel,
> eller er det noget python, der svarer til php's time()?
> Eller måske det, som uret i hjørnet af skærmen viser, når nu det
> hedder system_to_ntp_time?
> Efter at have googlet "python timestamp" kom jeg frem til at det
> må være en variabel.

Python:

def system_to_ntp_time(timestamp):

svarer til PHP:

function system_to_ntp_time($timestamp) {

Udfra konteksten så skal det være et argumentnavn.

Arne

Back to dk.edb.internet.webdesign.serverside.php | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-06 17:32 +0200
  Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-06 12:38 -0400
    Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-06 19:04 +0200
  Re: Accesskontrol Kim Ludvigsen <kim@kimsside.dk> - 2020-05-06 19:02 +0200
    Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-06 19:24 +0200
      Re: Accesskontrol Kim Ludvigsen <kim@kimsside.dk> - 2020-05-06 19:41 +0200
        Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-06 21:32 +0200
  Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-06 21:17 +0200
    Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-06 21:44 +0200
      Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-06 23:26 +0200
        Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-07 05:38 +0200
        Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-08 13:50 -0400
          Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-08 21:39 +0200
            Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-08 16:06 -0400
            Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-09 08:35 +0200
              Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-09 13:34 +0200
                Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-09 20:21 +0200
                Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-09 15:02 -0400
                Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-09 21:17 +0200
    Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-07 22:44 -0400
      Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-08 07:17 +0200
      Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-08 11:55 +0200
        Re: Accesskontrol Krabsen <usenet@krabsen.dk> - 2020-05-08 14:50 +0200
        Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-08 17:56 +0200
          Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-08 19:09 +0200
            Re: Accesskontrol Kim Ludvigsen <kim@kimsside.dk> - 2020-05-08 19:21 +0200
              Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-08 20:03 +0200
            Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-08 19:29 +0200
              Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-08 20:13 +0200
              Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-08 14:34 -0400
        Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-08 14:30 -0400
          Re: Accesskontrol Krabsen <usenet@krabsen.dk> - 2020-05-10 08:21 +0200
            Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-10 10:20 -0400
              Re: Accesskontrol Krabsen <usenet@krabsen.dk> - 2020-05-11 08:35 +0200
                Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-11 09:34 -0400
                Re: Accesskontrol Martin Larsen <martin+spamfree+larsen@bigfoot.com> - 2020-05-11 15:42 +0200
        Re: Accesskontrol Martin Larsen <martin+spamfree+larsen@bigfoot.com> - 2020-05-09 10:47 +0200
          Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-09 15:27 +0200
            Re: Accesskontrol Martin Larsen <martin+spamfree+larsen@bigfoot.com> - 2020-05-10 00:47 +0200
          Re: Accesskontrol Jan Hansen <jan_hansen@sniper-pistol.com> - 2020-08-02 13:04 +0200
            Re: Accesskontrol "Dennis Munding" <nospa@mplease.dk> - 2020-08-02 15:22 +0000
              Re: Accesskontrol Jan Hansen <jan_hansen@sniper-pistol.com> - 2020-08-02 17:57 +0200
                Re: Accesskontrol Martin Larsen <martin+spamfree+larsen@bigfoot.com> - 2020-08-05 12:24 +0200
                Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-08-06 16:05 -0400
                Re: Accesskontrol Jan Hansen <jan_hansen@sniper-pistol.com> - 2020-08-07 10:19 +0200
                Re: Accesskontrol Jan Hansen <jan_hansen@sniper-pistol.com> - 2020-08-07 09:55 +0200
                Re: Accesskontrol Martin Larsen <martin+spamfree+larsen@bigfoot.com> - 2020-08-07 23:55 +0200
                Re: Accesskontrol Jan Hansen <jan_hansen@sniper-pistol.com> - 2020-08-08 11:42 +0200
                Re: Accesskontrol Martin Larsen <martin+spamfree+larsen@bigfoot.com> - 2020-08-09 11:28 +0200
  Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-07 19:37 +0200
    Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-07 22:38 +0200
      Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-08 07:23 +0200
        Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-08 11:06 +0200
          Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-08 11:40 +0200
        Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-16 17:38 +0200
          Re: Accesskontrol Arne Vajhøj <arne@vajhoej.dk> - 2020-05-16 12:12 -0400
            Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-16 18:57 +0200
          Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-16 18:13 +0200
            Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-16 18:46 +0200
              Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-16 19:29 +0200
            Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-16 19:42 +0200
              Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-17 11:03 +0200
          Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-16 18:44 +0200
            Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-21 16:39 +0200
              Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-21 16:45 +0200
                Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-21 18:25 +0200
                Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-21 18:53 +0200
                Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-21 20:25 +0200
                Re: Accesskontrol Jan Hansen <jhjjhjhhansen@gmail.com> - 2020-05-22 13:24 +0200
                Re: Accesskontrol Bertel Lund Hansen <gadekryds@lundhansen.dk> - 2020-05-23 11:46 +0200
  Re: Accesskontrol Erik Ginnerskov <egin@mail.dk> - 2020-08-09 17:39 +0200

csiph-web