문제

So this is my code: http://pastebin.com/3jELA420 I'm trying to store my password using phpass and for some reason the included file is not being accessed in my else statement. I get the error: Fatal error: Class 'PasswordHash' not found in /home/carlton/public_html/PHPproject/forms/registersecure.php on line 33

This is related to a thread I posted not too long ago (Registration page: Storing password using PHPASS), but I feel like this is more succinct thread as I feel I have isolated the problem.

도움이 되었습니까?

해결책

Based on your respond, PHP doesn't have enough permissions to access the file : Please read more about it here

Also please check this responses

Please try:

chmod /home/carlton/public_html/PHPproject/includes/PasswordHash.php  755
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top