[Phpmyadmin-devel] suggestion on $cfgPmaAbsoluteUri
Marc Delisle
DelislMa at CollegeSherbrooke.qc.ca
Fri Apr 19 13:03:17 CEST 2002
Jay,
$REMOTE_ADDR returns the client's address. I guess $SERVER_NAME would be better.
Marc Delisle
"Jay F. Davis" a écrit :
>
> 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