Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #1303
| From | sheldonlg <sheldonlg@thevillages.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: php sessions and css file? |
| Date | 2011-04-27 20:30 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <ipacen$g1e$1@dont-email.me> (permalink) |
| 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> |
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 //.) -- Shelly
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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