sendhelp
asked on
PHP Permissions Promblem
I bought a php template. I loaded it to my server, I download pages to my computer, made some changes to the wording, nothing major. When I try to upload it back to my web server I get this.
chkLogin.php: Permission denied
I did not change anything PHP related. Why would I be getting this.
chkLogin.php: Permission denied
I did not change anything PHP related. Why would I be getting this.
sessions are initialize with session_start()
so you might want to check if you have anything else above that.
Also if you have any includes at the top part of your page... include("filename") or require("filename") check if the session_start code is inside those files.
so you might want to check if you have anything else above that.
Also if you have any includes at the top part of your page... include("filename") or require("filename") check if the session_start code is inside those files.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It was a server permission problem. I needed to use my admin permissions.
E.g The code of the page that is giving you the problem.
If i had to guess i would say that you put some html code above the php code initialised the session thus not allowing for the login session to register.