0

Hi,

I'm getting errors on http://www.universal-abundance.com

Deprecated: Function session_register() is deprecated in /home/content/13/11394913/html/login.php on line 3

Dark bg so highlight top of page.

(Still got images to work on)

Thanks
L-D

3
Contributors
9
Replies
20
Views
4 Years
Discussion Span
Last Post by L-D
0

qoute from php manual

This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.

instead of session_register(),use $_SESSION,see a small example below.

<?php
session_start();//don't forget to start session before using it
$_SESSION["name"] = "IIM";
?>
0

Hi again,

Thanks for the comments... this is a old script. I see it needs updating. My problem is that I am a HTML guy so I can cut and paste! I can do that... hopefully without messing up the script (zipped original folder safely tucked away).

I'll give it a shot.

One question... is session_start(); always needed?

L-D

0

once in each page,if you are either assigning session variable or using that session variable.

0

Ok, after t&s (toast & coffee) did index.php and error message gone!

Ta-Da!

Now seek and destroy others!

L-D

0

Opps, got in trouble here.
Fatal error: Function name must be a string in /home/content/13/11394913/html/login.php on line 3

Ok, forgot to do the [&] on one. Hey, I know something!

looking for more......

0

How, where... don't see anything....

Ok, I c it

Edited by L-D

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.