DISQUS

DISQUS Hello! ProDevTips is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

ProDevTips

Mainly tutorials and tips relating to web development with PHP, Javascript, jQuery and Ruby
Jump to original thread »
Author

PHP import and export

Started by Henrik · 10 months ago

God how I hate Webmin. No wonder everyone is using phpMyAdmin, everyone except my admin of course.
Simple export:
$db_name = "";
$db_password = "";
$db_link = mysql_connect("localhost", "root", $db_password);
mysql_select_db($db_n ... Continue reading »

3 comments

  • I just realized that file_put_contents() doesn't work in php < 5 and our admin refuses to upgrade the server in question to php > 5 so we had to use fopen(), fwrite() and fclose() instead, I'm amazingly pissed, need a break...
  • So what bugs you about Webmin's MySQL module? We'd be keen to fix it, rather than make you continue to suffer.
  • I've been having problems with German characters, either it's the GUI/me being a stupid user that can't find the UTF8 button or something or the code lacks something, whatever, the above scripts solves the problem everytime. In general the GUI feels spartan compared to phpMyAdmin's but maybe that's a feature.

Add New Comment

Returning? Login