Thread
:
Outputting data without print/echo
View Single Post
03-01-2008, 07:13 PM
#
2
(
permalink
)
Alan @ CIT
Member of the Month
The Frequenter
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Can't beat good ol' streams
PHP Code:
function
newecho
(
$text
)
{
$output
=
fopen
(
'php://output'
,
'w'
);
fputs
(
$output
,
$text
);
}
Alan
Alan @ CIT
View Public Profile
Send a private message to Alan @ CIT
Find More Posts by Alan @ CIT