Try php.net for flat file date basing. It should tell you how to read a line
and write to a new line.
From: Tim Burgan <email@xxxxxxxxxxxxx>
To: "[php] PHP General List" <php-general@xxxxxxxxxxxxx>
Subject: HOWTO read PHP source code into a textarea
Date: Fri, 25 Feb 2005 10:26:36 +1030
MIME-Version: 1.0
Received: from lists.php.net ([216.92.131.4]) by mc10-f12.hotmail.com with
Microsoft SMTPSVC(6.0.3790.211); Fri, 25 Feb 2005 09:20:40 -0800
Received: from ([216.92.131.4:17572] helo=lists.php.net)by pb1.pair.com
(ecelerity HEAD r(5124)) with SMTPid D9/58-51537-46E5F124 for
<dbnm@xxxxxxxxxxx>; Fri, 25 Feb 2005 12:20:37 -0500
Received: (qmail 56201 invoked by uid 1010); 25 Feb 2005 16:23:57 -0000
Received: (qmail 29434 invoked by uid 1010); 25 Feb 2005 15:51:19 -0000
X-Message-Info: 6sSXyD95QpV9yk8eof5sDoBjj7rfuQB3oBBEJSBDxio=
Return-Path: <php-general-return-209353-dbnm=hotmail.com@xxxxxxxxxxxxx>
X-Host-Fingerprint: 216.92.131.4 lists.php.net Mailing-List: contact
php-general-help@xxxxxxxxxxxxx; run by ezmlm
Precedence: bulk
list-help: <mailto:php-general-help@xxxxxxxxxxxxx>
list-unsubscribe: <mailto:php-general-unsubscribe@xxxxxxxxxxxxx>
list-post: <mailto:php-general@xxxxxxxxxxxxx>
Delivered-To: mailing list php-general@xxxxxxxxxxxxx
Delivered-To: ezmlm-scan-php-general@xxxxxxxxxxxxx
Delivered-To: ezmlm-php-general@xxxxxxxxxxxxx
X-Host-Fingerprint: 66.102.135.69 mx69a.mysite4now.com Windows 2000 SP4, XP
SP1
X-SmartMax-AuthUser: timb@xxxxxxxxxxxxx
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
X-OriginalArrivalTime: 25 Feb 2005 17:20:40.0742 (UTC)
FILETIME=[546FDC60:01C51B5E]
Hello,
I have a file 'nav.php', whose source code I want to load into the textarea
on page 'aaa.php', so the source can be edited and changed.
Is there a resource that I can read to help me do this?
Thanks
Tim
--
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