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

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";
?>

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

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

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

Ta-Da!

Now seek and destroy others!

L-D

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......

L-D if your problem is solved,please mark thread as solved.

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

Ok, I c it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.