[PHP] PHP - File Edit

2003-06-06 Thread Matt Zur
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
[EMAIL PROTECTED]
http://www.zurnet.com
Need a Web Site??? - Visit... www.zurnet.com

1997 - 2003 - 6th Anniversary!!!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] PHP - File Edit

2003-06-06 Thread Philip Olson
On Fri, 6 Jun 2003, Matt Zur wrote:

 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.

Strip them backslashes :)

http://www.php.net/stripslashes

Regards,
Philip


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] PHP - File Edit

2003-06-06 Thread Boaz Yahav
Maybe this can help :

A simple configuration file editor to ease you life in setting up php
applications. Reads variables from a given file automatically and
displays current value. New value will be written to file after submit.
http://examples.weberdev.com/get_example.php3?count=1741

or

EditPHP - PHP HTML online file editor with encrypted password
authentication
http://examples.weberdev.com/get_example.php3?count=1496

Sincerely

berber

Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.


-Original Message-
From: Matt Zur [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 06, 2003 8:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP - File Edit


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
[EMAIL PROTECTED]
http://www.zurnet.com

Need a Web Site??? - Visit... www.zurnet.com

1997 - 2003 - 6th Anniversary!!!


-- 
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