Jump to content

can't run php files


KGH

Recommended Posts

I have installed xampp in which i could successfully run index.php,but if i run other files (.php files only)it will automatically leads to index.php only.Why it is so?Please help me.

Thank you.

Link to comment
Share on other sites

so if you view fileA.php in your browser, you always only see the contents of index.php in your browser? you didn't change your hosts file or anything?

  • Like 1
Link to comment
Share on other sites

Yes sir,I have admin folder in which index.php,login_success.php and logout.php files r there.In index.php,it checks for username and password.If both are correct it will goto login_success.php which is not happening.Whenever correct username and password are entered it will open index.php only allows us to enter username and password only.Not getting what s happening.I will paste the code.Please check it.

Thanks in advance..

index.php

login_success.php

logout.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...