[PHP-DB] Re: phpMyAdmin-Problem

2003-07-10 Thread Stan Lemon
I know exactly what the problem is!!!  But...  I don't know where it is 
at :-(

I experienced this problem when I installed it on an IIS4 machine and 
found that somewhere in the authentication file it detetcts whether it 
is IIS or Apache and it has an if() {} and then an elseif() {} with no 
else.  The IIS function picks up if it is 5 or greater.  Thus IIS 4 
doesn't get caught.  It was really wierd.  I think I even sent a bug 
report in on ir, they must not have fixed it.  Anyhow, what you're going 
to need to do is to dig into the phpMyAdmin function and look for if 
statements with regular expressions searcing for IIS in a string.  When 
you do that eventually you'll find what you need.  Basically the problem 
is caused by poor programming in phpMyAdmin which does not account for 
ALL web servers.

Tip for future programmers.  If you have an if and an elseif you really 
need to finish with an else, otherwise you generally leave yourself open 
to bugs and problems.

Hope that helped somehow.

- Stan

. Ma wrote:
hi!

i have mysql 3.23.38 running on a IIS4 and php 4.3.2
i used phpmyadmin 2.3.2 with cookie authentication and everything worked 
well. until i wanted to upgrade phpmyadmin to 2.5.1 (last stable release).
i configured everything inside config.inc.php (added a controluser, etc) 
but now i cannot login anymore by cookie-authenticaion. i do not even 
get a "wrong password or username"-error
the phpmyadmin-faq contains this question:

 [1.3] I'm running phpMyAdmin with "cookie" authentication mode under 
PHP 4.2.0 or 4.2.1 loaded as an Apache 2+ module but can't enter the 
script: I'm always displayed the login screen.
This is a known PHP bug (see this bug report) from the official PHP bug 
database. It means there is and won't be any phpMyAdmin fix against it 
because there is no way to code a fix.

is this the same for php 4.3.2 and IIS4 ?

thx in advance .ma




--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] Re: phpMyAdmin

2002-03-21 Thread James Kupernik

Nevermind ... I found the problem!

(slamming head against desk)

"James Kupernik" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm trying to load phpMyAdmin on, and it seems to work fine, but when I
> browse a table and run my mouse over the contents of that table I get a
> jazascript error. Does anyone know a solution for this problem? I doesn't
> happen in the earlier version of phpMyAdmin .. just this later version.
>
> Any help would be great!
>
> Thanks!
>
>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DB] RE: phpMyAdmin - blank screen?

2002-01-14 Thread Peter Westergaard


>hallo guys!
>
>i'm a newbie in php..I've installed phpMyAdmin on my pc, together with MySQL
>and Apache with PHP 4 on Win98.
>
>the index.php page is blank! any ideas/suggestions from u ppl?
>
>gracias!

Can you post some of the code from your index.php?
Have you installed it all correctly, ie placed index.php in your document 
root and configured Apache to work with PHP?  I've personally had it all 
running on Win98 before so I know it's doable. just might take some tweaking!

Cheers,
-Peter


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Re: phpmyadmin

2002-01-03 Thread Mattias Nordstrom

Viper1 wrote:

> I am trying to use the phpmyadmin to create an online resume site. I have
> created a table and it seems to be fine but I need some more help on the
> next steps also how to test the database out. I started by making a table
> called resumes # of fields is 11 first field is name var is 20 and so on.
> Can someone please help? Thanks, very much appreciated.


Well, now you start writing the PHP code for the site.
To get more info on PHP's MySQL support, check out 
http://www.php.net/manual/en/ref.mysql.php


-- 
Mattias Nordström
[EMAIL PROTECTED]
-www.ftlight.net-


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Re: phpMyAdmin problem

2001-08-28 Thread Shin

Hi.

You can use the IP address too, but the "localhost" will works fine in
almost all server.
Maybe is better you talk with the server's sysop/administrator and ask for
how to confg. your php script.

Like I sad before, ALMOST all server acepts the host server as localhost,
than check your ID and PASS.

Regards,

Shin


"Ð ë ê þ ã K" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> i want to know the host name to provide in config file . my computer name
is "deepak" , if i mention it as
> "localhost" it works fine on my system, but if i change it to "deepak" it
gives following error
> also i have modified lib.inc.php3 , so i won't be same line as comes with
standard version.
>
>  Warning: MySQL Connection Failed: Access denied for user:
>'root@deepak' (Using password: YES) in lib.inc.php3 on line 95
>Error
>
>MySQL said:
>Back
>
> the main problem is when i upload it to my website on different computer,
it gives similar error when host
> name is set as localhost .  i don't know the host name of that server.
also the problem is only with
> Advanced Authentication . it works fine for Basic Authentication
>
>
> -
> reply soon
> bye
>
>   Ð ë ê þ ã K 
>
> have a great day
> ICQ 30662394
>
> -- No program done by a grad student will work after she completes her
thesis.
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Re: phpMyAdmin (well mySQL) and listing DB's

2001-08-19 Thread Alexandre Santos

Tom Carter wrote:
> 
> Hi All,
> 
> I was trying to set up phpMyAdmin for a client on my machine, and I've
> created a mysql account for him such that he can only use his database, yet
> when I use phpMyAdmin (with the correct setting) he can see all the
> databases. The security is still there, it just looks messy + reveals all
> the dbs.
> 
> Anyone have any advice?
> 
> TIA, Tom
> Tom Carter
> Web Architect
> roundcorners ltd.
See how it works in phpPgAdmin. The loop that creates the left menu as
an if clause that only lists the DB's the user owns.

Alexandre Santos

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]