[thelist] Trapping output of php script?
Daniel Champion
dchampion at clacks.gov.uk
Wed Jul 23 04:50:14 CDT 2003
Hi Joel
Output buffering is your friend. Start here:
http://www.php.net/manual/en/ref.outcontrol.php
Look at ob_start() and ob_get_contents() - they will be able to cover your
needs.
HTH
--
Daniel Champion - Web Dev Mgr - Clackmannanshire Council
e: dchampion at clacks.gov.uk t: 01259 452258
f: 01259 452240 w: http://www.clacksweb.org.uk
Joel Konkle-Parker <jjk3 at msstate.edu>
Sent by: thelist-bounces at lists.evolt.org
23/07/03 09:59
Please respond to "thelist at lists.evolt.org"
To: thelist at lists.evolt.org
cc:
Subject: [thelist] Trapping output of php script?
I'm attempting to incorporate a YaBB forum into my current site layout. To
accomplish this, I want to be able to run a wrapper script that in turn
runs
YaBB's index.php and traps the output into a variable.
Something similar to $output = require ("YaBBindex.php"), if that worked
as it
looks like it could.
Any suggestions?
--
Joel Konkle-Parker
Webmaster [Ballsome.com]
Phone [662-518-1636]
E-mail [jjk3 at msstate.edu]
**********************************************************************
This email and any attachments have been scanned for viruses prior to leaving Clackmannanshire Council.
Clackmannanshire Council will not be liable for any losses as a result of viruses being passed on.
www.clacksweb.org.uk
**********************************************************************
More information about the thelist
mailing list