Hey. Im about to set up an old script I found. When I ran the installer I got an error when importing the db, some error about "TYPE=MyISAM", I managed it by replacing "TYPE" with "ENGINE" and it imported the db fine. Anyways, now when I go to the logon and after auth I get this. [B]Deprecated[/B]: Function session_is_registered() is deprecated in [B]/opt/lampp/htdocs/xxx/admin/auth.php[/B] on line [B]4[/B] Code (markup): Heres the PHP code. <?include("../var.php");session_start();if(!session_is_registered("logon")){ header("Location:log.php"); exit; }?> PHP: Im no good with PHP at all, any ideas? I need this setup ASAP, so I am very greatful for any help. Best regards.
You can use isset: <? include("../var.php");session_start();if(!isset($_SESSION["logon"])){ header("Location:log.php"); exit;}?> PHP:
Ok, im in a big hurry. I need someone that can set this up for me asap. So if anyone's bored and feel like being a hero and save my day, shoot me a PM. I need a TDS script setup that uses Zend Optimizer, or Guard for php 5.3 I think. If you need to get paid, thats fine. If you feel like doing it for free thats fine to.
Look at publictest.simpletds.com when you click "out" on a scheme it.opens a new menu to the right. For me it doesnt. Any ideas? All my php.ini is default.
That's Javascript (onclick='showout(1012)'), not PHP. (Disable Javascript and you'll see that it doesn't happen.)