DHTMLConsole DHTMLConsole

Developer Tools
Version: 0.4
Last Update: 2016-01-19

Overview

DHTMLConsole is a Chrome extension developed by diltony. According to the data from Chrome web store, current version of DHTMLConsole is 0.4, updated on 2016-01-19.
245 users have installed this extension. 5 users have rated this extension with an average rating of .
developer website: www.africoders.com

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");
?>

Rating

5 ratings

Total Installs

245

Information

Last Update

2016-01-19

Current Version

0.4

Size

357KiB

Author

diltony

Website

www.africoders.com

Category

Developer Tools

DHTMLConsole Alternatives

Latest Reviews

See More

avatar Magno Alberto
2020-12-18

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

avatar Jose Cruz
2018-01-10

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

avatar Anthony ogundipe
2016-01-20

Works fine on my pc

avatar Роман
2023-01-22

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

avatar Magno Alberto
2020-12-18

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