Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 php login log out
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

arthur
Practical

23 Posts

Posted - 10 Dec 2010 :  16:38:27  Show Profile  Visit arthur's Homepage  Reply with Quote
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

Andy
Expert

United Kingdom
83 Posts

Posted - 10 Dec 2010 :  16:45:16  Show Profile  Visit Andy's Homepage  Reply with Quote
Hi,

why dont you just use the php extension tool in DHE ?

Andy
Go to Top of Page

arthur
Practical

23 Posts

Posted - 10 Dec 2010 :  18:01:51  Show Profile  Visit arthur's Homepage  Reply with Quote
i did maby i ditn t do it ok
Go to Top of Page

Andy
Expert

United Kingdom
83 Posts

Posted - 10 Dec 2010 :  22:18:17  Show Profile  Visit Andy's Homepage  Reply with Quote
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.

Andy
Go to Top of Page

arthur
Practical

23 Posts

Posted - 11 Dec 2010 :  07:42:05  Show Profile  Visit arthur's Homepage  Reply with Quote
yes i was there thanks but stil it wasnt working i did samthing wrong bud i have to found what...........?????

thanks of a biginner
Go to Top of Page

Andy
Expert

United Kingdom
83 Posts

Posted - 11 Dec 2010 :  11:50:37  Show Profile  Visit Andy's Homepage  Reply with Quote
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.

Andy
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 15 Dec 2010 :  09:55:09  Show Profile  Visit s.dav's Homepage  Reply with Quote
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.

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000