File system functions: http://www.php.net/manual/en/ref.filesystem.php
String functions: http://www.php.net/manual/en/ref.strings.php
good luck!
Regrads,
Khalid Al-Kary
What??? I want to read the code from the function into a string! "Peter Houchin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > so put it in a if or switch statement > > eg > > if ($var){ > myfunction(); > } > else { > sumotherfunction(); > } > > etc > > > > -----Original Message----- > > From: Shawn McKenzie [mailto:[EMAIL PROTECTED]] > > Sent: Friday, 3 January 2003 12:18 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP] Code contents of a function > > > > > > I have a script with some functions and within the script I want > > to read the > > code from one of the functions into a string. > > > > Example: > > > > function myfunction() { > > echo "something"; > > echo "something else"; > > someotherfunction(); > > } > > > > I want to read: > > > > echo "something"; > > echo "something else"; > > someotherfunction(); > > > > into a string. > > > > Any ideas??? TIA > > -Shawn > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > >-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________
The new MSN 8 is here: Try it free* for 2 months http://join.msn.com/?page=dept/dialup
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php