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

Home » Imported messages » comp.lang.php » about php 5.4.20version
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: about php 5.4.20version [message #183236 is a reply to message #183234] Sun, 13 October 2013 21:02 Go to previous messageGo to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: counting the plays
Next Topic: curiosity mainly users online script
Goto Forum:
  

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

Current Time: Fri Nov 22 11:29:25 GMT 2024

Total time taken to generate the page: 0.04199 seconds