From: Leonardo S. <le...@cf...> - 2004-06-15 14:35:41
|
Hello again. I doing the authentication but something strange is happening. First, I included two input text fields in the form where the buttons change and delete are placed. When i click the delete button i managed to get the values login and password. I put then into a variable and turned the variable into an array. Then I did and array_search for the values login and password and put the value that is in the next array position into variables. By doing this a get the login and the password form the backup configuration. To this point everything worked fine. Now I have to compare the login and password that came from bobs with the ones that I typed in the input text fields that i created in the main screen. Using $_REQUEST or any other method, I managed to get these values from the input text fileds. The problem is when I have to compare the values. For example, I create a backup job with the login leo and password 123. Then I want to delete it. I enter my password and login into the input fileds and click delete. The next page have to compare if the login and password I typed match the original ones. But it's considering the leo from bobs different from the leo I typed. I tryed creating the md5 of both leo's and the values were different too. Why is that? Does bobs use some special caracter type that just bobs can understand? I will post the code later here to make it clear. Did you understand my small explanation? : ) Thanks! Leo |