NYCPHP Meetup

NYPHP.org

[nycphp-talk] accessing phpmyadmin as different users

Analysis & Solutions danielc at analysisandsolutions.com
Fri Oct 17 13:44:41 EDT 2003


Hi Nestor:

> I tried it with $_GET and $_POST and with either of them I am able to 
> print the information in the 
> variables.
> 
> But it fails

Before I get too far, I thought phpMyAdmin has it's own login page.  Why 
are you making another?

Anyway, you need to learn how to do some debugging, step by step.

You said you made a login page.  Go to the script that login form gets 
submitted to.  Put in echos for the variables you're submitting.  Did your 
input get through?  If not, there's your problem.  But, if so, go to the 
next step.

Now, you need to pass that information from there to the index.php, right?  
How are you passing it between the pages?  Check in index.php that the 
information you supplied is getting there.  If it's not, why not?  If it 
is, then are you putting it in the right place to be accepted by the 
system?

I hope you now get the idea of how to debug... think through your system,
step by step, create tests that checking things at each step of the
process.

--Dan

[... snipping old content, what a concept...]

-- 
     FREE scripts that make web and database programming easier
           http://www.analysisandsolutions.com/software/
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409



More information about the talk mailing list