[Phpmyadmin-devel] suggestion on $cfgPmaAbsoluteUri

Jay F. Davis jfdavis at mac.com
Fri Apr 19 12:20:37 CEST 2002


Hello:

I was having trouble connecting to phpMyAdmin after the login page. This
occured when I was at my client's site. The config parameter
$cfgPmaAbsoluteUri was to blame. I fixed the problem by using
$REMOTE_ADDR in the config file for the parameter, like this:

$cfgPmaAbsoluteUri = 'http://' . $REMOTE_ADDR . '/pathTo/phpMyAdmin-
2.2.6-rc2/';

I suspect this is what most users want, and it would have saved me some
time figuring this out if the above method was used. So, can we change
the config parameter so that we only ask for the path and not the server
address?

You could put a parameter such as $cfgPmaPath in the config file and then
later set $cfgPmaAbsoluteUri by prepending $REMOTE_ADDR onto the path.

Regards,

Jay Davis







More information about the Developers mailing list