[help]School Project Here |
[eluser]davidbehler[/eluser]
Works with lower case file extension: http://h1.ripway.com/mirat/a.jpg So your user and your session table are one and the same? That's not gonna work. And that's still not what I requested in this post: http://ellislab.com/forums/viewthread/19...20/#927232
[eluser]miwrath[/eluser]
still the same error i follow the codes in you post on http://ellislab.com/forums/viewthread/19...20/#927232 and the problem is the same...i just qouted it in here so that you can see it easily...but i put arrow on the line 54... here the error message: Fatal error: Function name must be a string in D:\wamp\www\registrar\system\application\controllers\registrar.php on line 54 its getting clearer now dude! thank you so much!
[eluser]davidbehler[/eluser]
You gotta use [ and ] instead of ( and ) when accessing an array (which $_POST is). Code: $username = $_POST['username'];
[eluser]miwrath[/eluser]
thank you...your such a nice coder! :-) working on that part... and this is the message: Quote:username: mark
[eluser]miwrath[/eluser]
solve but this is the output... Quote:username: mark :-)
[eluser]davidbehler[/eluser]
The image you posted before doesn't exist anymore, so I can't check but I'm pretty sure in your database it says "mcc" for the password and not '3a1db762f4bccd03c161a4d1f3e2717174fed591'. So either you update your database and enter the sha1 hash of the password instead of the real password or you update your query to use the real password instead of the hash.
[eluser]miwrath[/eluser]
dude, heres another problem... everytime i login the username & password in the database is deleted? WHY?
[eluser]davidbehler[/eluser]
Just guessing, but it's propably because you use don't have a seperate sessions table and mis-use the user table for it.
[eluser]miwrath[/eluser]
okey so i have to make a "session" table for the user? right? that is where i have to put this session_id ip_address user_agent last_activity and last is user_data hope this is clear... because i put in my config file in application: Code: $autoload['libraries'] = array('database', 'form_validation', 'session'); |
Welcome Guest, Not a member yet? Register Sign In |