R
R
rennameduser_34322021-08-24 12:42:29
PHP
rennameduser_3432, 2021-08-24 12:42:29

Outputting information to the php console?

6124bed5c77f5910763589.png

Can I somehow output information to the console while the script is running?

I always thought that the output to the console goes like this:
console_log('[+] Все данные получены.');

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AUser0, 2021-08-24
@AUser0

<?php
echo("Output to console\n");
file_put_contents(" php://stderr ", "Output to STDERR\n");
error_log("Output to HTTP server error.log file");
?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question