aspose file tools
The moose likes PHP and the fly likes undefined variable Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Languages » PHP
Reply Bookmark "undefined variable" Watch "undefined variable" New topic
Author

undefined variable

egbai mmumene
Ranch Hand

Joined: Sep 18, 2012
Posts: 30
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

Joined: Oct 09, 2011
Posts: 56

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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: undefined variable
 
Similar Threads
Java Applet Logon Post to PHP
difficulty in login in one attempt
i need help on loggin account limit
phpmailer. can not connect to server
Javascript and PHP