Answers for "centos php log"

PHP
6

php console log

// Assuming you are wishing to log to the JS Console...

<?php
	function consoleLog($msg) {
		echo '<script type="text/javascript">' .
          'console.log(' . $msg . ');</script>';
	}

	consoleLog('Hello, console!');
?>
Posted by: Guest on March-07-2020
1

how to see php error log

/usr/local/apache/logs/error_log
Posted by: Guest on April-21-2020

Browse Popular Code Answers by Language