DHTMLConsole
Item logo image for DHTMLConsole

DHTMLConsole

www.africoders.com
4.0(

5 ratings

)
ExtensionDeveloper Tools286 users
Item media 1 screenshot

Overview

This allows you to send message from your server via headers to the dhtmlconsole developer panel

This plugin allows you to send a message from your web server (directly by running a server script or making an ajax call) to your browser by using an HTTP Header. The only rule is that you need to send custom HTTP headers from your server with the name of the header starting with X-DHTML-CONSOLE. To send a message from a PHP script to the browser, this implementation will suffice: <?php header('X-DHTML-CONSOLE-MSG: Hello World'); ?> As of version 0.3, you can now do javaScript alerts <?php header('X-DHTML-CONSOLE-MSG: alert:Hello World'); ?> As of version 0.3, you can clear the console from server by: <?php header('X-DHTML-CONSOLE-MSG: -clear-'); ?> To send multiple messages in PHP: <?php function dhtmlconsole($msg='') { static $pos=0; $pos++; header('X-DHTML-CONSOLE-MSG'.$pos.': '.$msg); } //implementation dhtmlconsole("Hello"); dhtmlconsole("World"); ?>

4 out of 55 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Review's profile picture

РоманJan 22, 2023

it doesn't work anymore. console tab not showing up

Review's profile picture

Magno AlbertoDec 18, 2020

Exactly what I was looking for. Thanks!!!!

Review's profile picture

Jose CruzJan 10, 2018

Exactly what I was looking for. The ability to send php messages to the console like with javascript for testing. Thanks!

1 person found this review to be unhelpful

Details

  • Version
    0.4
  • Updated
    January 19, 2016
  • Size
    357KiB
  • Languages
    English
  • Developer
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has not provided any information about the collection or usage of your data.

Support

For help with questions, suggestions, or problems, please open this page on your desktop browser

Google apps