This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

undefined variable  RSS feed

 
egbai mmumene
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i"m having a problem when i am redirecting from my sign in page to the home page. the session variable is not being passed more over my authentication logic seems to be not working out, it seems like the variable gets to the home page but when i try to pass it through the URL it doesn't work. here is my code.
the validation page


HOME PAGE


 
Nick Charles
Ranch Hand
Posts: 71
Linux PHP Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see a <form> tag in your home page, so there is no way to fill in the 'user' and 'pass' varaibles you are referencing in your authentication script.

There are several tutorials for php authentication using mysql on the web, perhaps one of those would help you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!