FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » php sessions and css file?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: php sessions and css file? [message #173686 is a reply to message #173675] Thu, 28 April 2011 19:15 Go to previous messageGo to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
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(at)news(dot)demon(dot)co(dot)uk>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Adding a CDATA section
Next Topic: hai
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 17:40:03 GMT 2024

Total time taken to generate the page: 0.03971 seconds