hi i wanted to try to put a login and log out in mi page i think i put all in but it dusn.t work yet. i get a when i log in this on the page ...... $pwd) { if (strtolower($usr)==strtolower($sUser) && $pwd==$sPwd) { setcookie('123456789'.'ADMIN','1'); redirectEx (c_secureindex); return; } } redirectEx(c_loginpage); } checkLogin(); ?>
Have you looked at http://www.dynamic-html-editor.com/en/extensions/asp-login.asp I just did one recently and it works. Just bear in mind I couldnt change the extension colours in DHE, but they do on the php output page so preview your work regularly.
If I was you, I would start again. Create the log in page, save as a PHP. set up a basic user and save. Leave seed number the same. Create SecureIndex.php and put a bit of text on page (plus link to logout page which you create next). FTP to your host and it should all work. If it does, then play around with the setting to get it looking like you want.
please check the instruction because you need to test your .asp or .php page through a WEB server; you cannot load the .php page directly because it will not work.