$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>plugins - How do I access cPanel features within Wordpress?|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

plugins - How do I access cPanel features within Wordpress?

matteradmin8PV0评论

Is there a plugin that can access cPanel features from within Wordpress? In particular I'd like to be able to:

  • View bandwidth, quota and other server info from the WP Dashboard
  • Access my webmail
  • Access the file manager to edit files (useful for .htaccess, php.ini and non-WP files)

I know I can just open a new tab and log on to my cPanel account, but it would be great if it could be integrated some how.

If there isn't a plugin to achieve the above, then I suppose an easier way would be for some links to be added to the Dashboard menu (for example webmail and file manager) which would link directly to those sections in cPanel and perhaps open in an iframe.

So, to recap... does a plugin exist to achieve the above (or it easy to make one) or if not, does a plugin exist (or how do I create one) that adds these links to the dashboard. Any ideas from people who use cPanel and WP on a regular basis would be helpful.

Is there a plugin that can access cPanel features from within Wordpress? In particular I'd like to be able to:

  • View bandwidth, quota and other server info from the WP Dashboard
  • Access my webmail
  • Access the file manager to edit files (useful for .htaccess, php.ini and non-WP files)

I know I can just open a new tab and log on to my cPanel account, but it would be great if it could be integrated some how.

If there isn't a plugin to achieve the above, then I suppose an easier way would be for some links to be added to the Dashboard menu (for example webmail and file manager) which would link directly to those sections in cPanel and perhaps open in an iframe.

So, to recap... does a plugin exist to achieve the above (or it easy to make one) or if not, does a plugin exist (or how do I create one) that adds these links to the dashboard. Any ideas from people who use cPanel and WP on a regular basis would be helpful.

Share Improve this question asked Aug 18, 2011 at 13:22 baritoneukbaritoneuk 2498 silver badges15 bronze badges 2
  • 1 I've seen such Plugins (e.g. one that brought PHPMyAdmin into the WP Admin), but I wouldn't advise using them unless you are absolutely sure about mitigating the potential security vulnerabilities involved in such functionality. – Chip Bennett Commented Aug 18, 2011 at 13:43
  • Yes, I can see the issue, especially if the cPanel username and password have to be stored for tha access. – baritoneuk Commented Aug 18, 2011 at 14:26
Add a comment  | 

2 Answers 2

Reset to default 0

I do not believe there are any plugins specifically catered to cPanel, however there are a few plugins which will allow you to add an iFrame to your admin pages. I have not used any of these, and agree with the other commenter (Chip) who mentioned that it may pose a security risk.

With that said, check out plugins like this: http://wordpress/extend/plugins/iframe-admin-pages/

search for similar: http://wordpress/extend/plugins/search.php?q=admin+iframe

There is now... We've just released a brand new plugin designed specifically for accessing your cPanel web hosting account directly from within your WordPress site.

The features are a bit limited right now, but it has a lot of useful MySQL database handling - you can do action in bulk that you can't do in cPanel itself.

I'll be adding a lot more in the future and I'd be happy to hear what you'd like to see.

You can grab the WordPress plugin here:

http://wordpress/extend/plugins/cpanel-manager-from-worpit/

Thanks,

Paul.

Post a comment

comment list (0)

  1. No comments so far