T O P I C R E V I E W |
arthur |
Posted - 10 Dec 2010 : 16:38:27 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(); ?>
can sombody trl ,e what i do wrong ?
greatings of a beginner
|
6 L A T E S T R E P L I E S (Newest First) |
s.dav |
Posted - 15 Dec 2010 : 09:55:09 arthur,
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. |
Andy |
Posted - 11 Dec 2010 : 11:50:37 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. |
arthur |
Posted - 11 Dec 2010 : 07:42:05 yes i was there thanks but stil it wasnt working i did samthing wrong bud i have to found what...........?????
thanks of a biginner |
Andy |
Posted - 10 Dec 2010 : 22:18:17 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. |
arthur |
Posted - 10 Dec 2010 : 18:01:51 i did maby i ditn t do it ok
|
Andy |
Posted - 10 Dec 2010 : 16:45:16 Hi,
why dont you just use the php extension tool in DHE ? |