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


Groups > comp.lang.php > #11423

Re: about php 5.4.20version

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!uucp.gnuu.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Content-Type text/plain; charset="UTF-8"
Message-ID <2300440.oCfmsFoUjv@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Reply-To Thomas 'PointedEars' Lahn <php@PointedEars.de>
Organization PointedEars Software (PES)
Date Sun, 13 Oct 2013 23:02:10 +0200
User-Agent KNode/4.10.5
Content-Transfer-Encoding 8Bit
X-Face %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.<b';Md8`dH6iqhT)6C^.Px|[=M@7=Ik[_w<%n1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v
Face iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg==
Subject Re: about php 5.4.20version
Newsgroups comp.lang.php
References <49ce76d6-09eb-4038-aa3a-528d7f13c4ba@googlegroups.com>
MIME-Version 1.0
Lines 37
NNTP-Posting-Date 13 Oct 2013 23:02:11 CEST
NNTP-Posting-Host d9251bf1.newsspool2.arcor-online.net
X-Trace DXC=njWkSJ:Y68hPXlQ;h]GTMdA9EHlD;3Ycb4Fo<]lROoRa8kF<OcfhCOkS6]dJ=QET;aDZm8W4\YJNlb@mF9jNikdemA0dJ;NON0o`3gSlYWRUXa
X-Complaints-To usenet-abuse@arcor.de
Xref csiph.com comp.lang.php:11423

Show key headers only | View raw


Varsha Shakya wrote:

> about $_SESSION and session_start();
> 
> how to replace SESSION ???

You don't (cookies are a poor substitute, whoever suggests that should be 
ashamed).  PHP 5.4.20 does not remove $_SESSION or session_start(), so there 
is no need to replace it.

That session.auto_start is PHP_INI_PERDIR now does not prevent you from 
calling session_start().  It just means that session_start() will not be 
called *automatically* if, and only if, you have not explicitly set 
session.auto_start to 1 in any of php.ini, .htaccess, httpd.conf, or 
.user.ini.  session.auto_start=0 is the default since at least PHP 5.3, so 
your code should not be affected by the change.

<http://php.net/ChangeLog-5.php#5.4.20>
<http://php.net/manual/en/configuration.changes.modes.php>

> define("VARIABLE", variable) and $GLOBALS not functioning...

The *seeming* “not functioning” might have to do with the fact that define() 
defines _constants_, and that you, not having a minimum clue, are writing 
nonsensical code.  Blame yourself, not PHP.

> will any body provide me sample file ???

My Magic-8 Ball says “Unlikely”.


PointedEars
-- 
    realism:    HTML 4.01 Strict
    evangelism: XHTML 1.0 Strict
    madness:    XHTML 1.1 as application/xhtml+xml
                                                    -- Bjoern Hoehrmann

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


Thread

about php 5.4.20version Varsha Shakya <varsha.shakya@gmail.com> - 2013-10-13 11:00 -0700
  Re: about php 5.4.20version "J.O. Aho" <user@example.net> - 2013-10-13 21:17 +0200
  Re: about php 5.4.20version Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-10-13 23:02 +0200
  Re: about php 5.4.20version Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-13 21:53 +0000

csiph-web