Link to home
Start Free TrialLog in
Avatar of sendhelp
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.
Avatar of steelseth12
steelseth12
Flag of Cyprus image

sendhelp You need to provide more information to be able to help you.
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.
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.
ASKER CERTIFIED SOLUTION
Avatar of Loganathan Natarajan
Loganathan Natarajan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sendhelp
sendhelp

ASKER

It was a server permission problem. I needed to use my admin permissions.