Where does echo output go Where does echo output go
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Where does echo output go

Started by grb, January 24, 2011, 06:32:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

grb

Just a quick question. I was trying to debug a script. Where would I see the output of "echo" statements?

Thanks

Αndré

Please don't abuse the bugs board for your individual questions.

Moving to cpg1.5 misc board.

I don't know what you ask for, as you can see the output of the echo command in your browser.

grb

Thanks, and sorry about posting in wrong place.

I was trying to print out a variable $filepath in picmgmt.inc.php. I could not see any output in browser, but will try looking for it again to search using CTRL_F (Firefox).  I am very new to php, but some simple scripts does show in browser as you rightly said. This is the first time, I tried printing within one of Coppermine scripts.

So I was wondering if coppermine somehow redirects all such output to a file?

Αndré

Try
return array('error' => $filepath, 'halt_upload' => 0);
(not tested).