|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
php logging in probs
yoyo
my housemate is trying to setup his website, it has basic html page but links to his other stuff, like image galleries and blogging things e.g's. tikiwiki (check spelling), coppermine, my bloggy problem is he sets things up / installs them but can never login, with any of them. he's going nuts because hes spent the last week trying everything 20 times and using diff proggies but every time it just wont let him login. the only thing i can think of is permissions but he says he's done the CHMOD things etc exactly how all the instructions say. any ideas at all? |
#2
|
||
|
Any error mesage? He using any special program or script?
Edit NM I am an idiot and didn't see it.
__________________
|
#3
|
||
|
Using a professional host? Might be a problem with sessions
|
#4
|
||
|
no errors just enters user and pass then enter, then just reloads current page.
he's using Yahoo business as host |
#5
|
||
|
Can anyone else log in? Has he tried it on another PC?
__________________
|
#6
|
||
|
yeah he tried otehr computers :/
|
#8
|
||
|
Well if its in php ... Simple logic of it:
-------- - Display the form (login dot php) - When submit is clicked, go to login_check.php, and check if the user infomation is true, if it is then start a cookie session, if not re-display the form. -------- Thats what most people follow, I'v dug up some code for you, with the file names ect, and I know for a fact that they work, have a look at them and see if its any different to what he's trying to do, Its from a topic in this forum, I think it was Me, Panther and elite's code combined together to help cobra sort out something ... login.php (Panthers and elites code ...) PHP Code:
PHP Code:
And if you wanted a register page for users, or even add an admin login ect, use this code, but change it a bit for admin adding ... PHP Code:
-Tecceh2 |
#9
|
||
|
try clicking submit with the mouse instead of pressing enter and see if that works, we had something similar here at nhq a while back with the admin cp, you had to press submit with the mouse...
The way around that is to create another hidden field in the form with the same name as the submit button IIRC. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem logging on | reddy2die | Delta Force | 0 | 01-25-2005 05:18 PM |
TS INSTALL PROBS........BIG PROBS!! | RooBoy | Tech Support | 1 | 02-17-2004 09:10 PM |
Problems logging on to nova | Rapid12 | Delta Force | 3 | 01-12-2004 10:25 AM |
DFLW. Logging into stats. | FatalitY | Delta Force | 1 | 02-13-2003 09:45 PM |
Problems Logging Out | DeDRAGE | General Chat | 2 | 11-24-2002 12:59 PM |