Jump to content
Sign in to follow this  
KGH

can't run php files

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.

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...