質問

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