Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #1319

Re: php sessions and css file?

Message-Id <5326698.9J7NaK4W3v@PointedEars.de>
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2011-04-28 21:15 +0200
Subject Re: php sessions and css file?
Newsgroups comp.lang.php
References <77c2d91e-a1ca-4aed-aa76-f1ee0f67701e@k11g2000yqc.googlegroups.com> <b651fd8a-5fbc-4c50-ae9d-07c68c1e2a45@d2g2000yqn.googlegroups.com> <ip76e1$nfi$1@dont-email.me> <2642915.LZWGnKmheA@PointedEars.de> <ipacen$g1e$1@dont-email.me>
Followup-To comp.lang.php

Followups directed to: comp.lang.php

Show all headers | View raw


sheldonlg wrote:

> On 4/27/2011 8:24 PM, Thomas 'PointedEars' Lahn wrote:
>> sheldonlg wrote:
>>> On 4/26/2011 1:08 PM, Alex Pavluck wrote:
>>>> On Apr 26, 10:46 am, Alex Pavluck<apavl...@gmail.com>   wrote:
>>>>> protect.php
>>>>> <?php
>>>>>       session_start();
>>>>>       // Call this function so your page
>>>
>>> There is no "function" being called here
>>>
>>>>>       // can access session variables
>>
>> With emphasis on *here* (session_start()) *is* a function). 
>> Documentation comments should be pre-comments (and multiline comments, to
>> distinguish them from disabling comments), not post-comments.
> 
> Yes, session_start() is, indeed, a function.  However, I have never
> encountered a comment set such as the above that was talking about prior
> code (other than something like //end while loop).  So, I looked for a
> function below the commenting, found none, and made the appropriate
> remark that no function is being called here.
> 
> (Furthermore, common practice is to use /* */  or /** */ for multiline
> comments rather than a bunch of //.)

I think I just said that.


PointedEars
-- 
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
  -- Richard Cornford, cljs, <f806at$ail$1$8300dec7@news.demon.co.uk>

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

php sessions and css file? Alex Pavluck <apavluck@gmail.com> - 2011-04-26 07:46 -0700
  Re: php sessions and css file? Erwin Moller <Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> - 2011-04-26 17:03 +0200
  Re: php sessions and css file? sheldonlg <sheldonlg@thevillages.net> - 2011-04-26 11:09 -0400
  Re: php sessions and css file? Alex Pavluck <apavluck@gmail.com> - 2011-04-26 10:08 -0700
    Re: php sessions and css file? Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-26 13:50 -0400
    Re: php sessions and css file? sheldonlg <sheldonlg@thevillages.net> - 2011-04-26 15:29 -0400
      Re: php sessions and css file? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-04-28 02:24 +0200
        Re: php sessions and css file? sheldonlg <sheldonlg@thevillages.net> - 2011-04-27 20:30 -0400
          Re: php sessions and css file? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-04-28 21:15 +0200
  Re: php sessions and css file? Alex Pavluck <apavluck@gmail.com> - 2011-04-26 12:53 -0700
    Re: php sessions and css file? sheldonlg <sheldonlg@thevillages.net> - 2011-04-26 16:05 -0400
    Re: php sessions and css file? Erwin Moller <Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> - 2011-04-27 07:58 +0200

csiph-web