Hi,

Well, I also had the same problem and finally traced the bug down
to a file called db_readdump.php3 in phpmyadmin directory. 

If you'r still having the problem, may be this is helpful to you too.

edit db_readdump.php3 and add in the beginning of the file 

   $db = trim($db); 

Then at the bottom of the code (somewhere around line no.45)
you will find.. 

    if(!empty($sql_file) && $sql_file != "none" && ereg("^php[0-9A-Za-z_.-]+$",
basename($sql_file)))
    {
        $sql_query = addslashes(fread(fopen($sql_file, "r"),
filesize($sql_file)));
    }

Cut this part of code and paste it just below, the following code... 

    $pieces  = split_sql($sql_query);

    if (count($pieces) == 1 && !empty($pieces[0]))
    {
       $sql_query = trim($pieces[0]);
       include ("sql.php");
       exit;
    }

thats it, 

Hope this helps,

Regards,

Sivaprasad. R.L
http://netlogger.net


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to