writing to console
Moderator: General Moderators
writing to console
which function (if any) should i use to display a message on the screen? I'm running php in command line to generate some text files. if I use 'echo', all the 'echo's in included files go to generated files instead of going to the screen (command console)
.
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
hi weirdan, since this is related to this (posted by me again
), i explained the situtation there with reference to sample code. Let us continue in that thread pls.
Kettle_drum, tried your suggestion, but no luck. may be the sample code at above mentioned thread could give you some clue...?
Kettle_drum, tried your suggestion, but no luck. may be the sample code at above mentioned thread could give you some clue...?
Code: Select all
$fp=fopen("php://stdout","a+");
fwrite($fp, "something");