Re: PHP - File Edit

From: Date: Fri, 06 Jun 2003 06:44:39 +0000
Subject: Re: PHP - File Edit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150455@lists.php.net to get a copy of this message
Try this: <?php $test='sth="sth"'; $test=htmlentities ($test, ENT_QUOTES); echo "<input type=textarea value=\"$test\">"; ?> "Matt Zur" <mattz@zurnet.com> píse v diskusním príspevku news:3EE031EE.7030703@zurnet.com... > Does anyone know of a simple program that will let me specify a file > within a certain directory to load into a textarea field, let me make > changes, then export/replace that file with the changed contents? > > I tried writing one myself in PHP, but I ran into a problem with quotes. > If I had tags in in the text area e.g. <table width="500"> it would > mess up the quotes by adding back slashes etc. > > TIA, > > -Matt > -- > Matt Zur > mattz@zurnet.com > http://www.zurnet.com > > Need a Web Site??? - Visit... www.zurnet.com > > 1997 - 2003 - 6th Anniversary!!! >

« previous php.general (#150455) next »