• Home
  • Map
  • Email: mail@besthelp.duckdns.org

Php 5 4 fatal error call to undefined function session register

I think you are probably using newer PHP version. This function has been DEPRECATED as of PHP 5. 0 and REMOVED as of PHP 5. Make sure you have session_ start( ), as just removing session_ register( ) and relying on the $ _ SESSION assignment won' t work. You can remove session_ register( ), because This function has been DEPRECATED as of PHP 5. error_ reporting( 1) ; session_ start( ) ; ob_ start( ) ; $ dbhost= ' 101. How about you use the $ _ SESSION variable? And do not use session_ register ( " myusername" ) ; Use $ _ SESSION[ ' myusername' ] = = " something". Ofcourse this method is not good, but for a beginner it should do it;. The function is no longer present in PHP 5. 4 instead use $ _ SESSION[ ' myusername' ] = " something" ;.

  • Postgresql syntax error at or near 1
  • Network error message list
  • Syntax error near unexpected token then in unix
  • Error correcting codes cryptography


  • Video:Fatal call function

    Fatal register function

    Possible it is missing the call for session_ start, session_ register make this automatically, so what you have to do is just make sure that. You can check more here php. net/ manual/ en/ function. session- register. I' m getting this error: Fatal error: Call to undefined function session_ is_ registered ( ) in / home/ tunalima/ domains/ mywebsiteaddress. tr/ public_ html/ _ globals. php on line 11 Here is my code: