php-windows Digest 5 Nov 2002 08:28:52 -0000 Issue 1424
Topics (messages 16726 through 16729):
Re: Form text with reserved chars
16726 by: Brad Thomas
PHP Editor
16727 by: Mgr. Brian Kabela
16728 by: Thoenen, Peter Mr. EPS
16729 by: Seung Hwan Kang
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi
It sounds like magic_quotes_gpc is set to On in your php.ini file.. change
this value to Off if you wish to handle escaping of characters yourself.
Secondly, it's advisable to research nl2br()
HTH
Brad
"News.Php.Net" <[EMAIL PROTECTED]> wrote in message
news:20021101073812.3879.qmail@;pb1.pair.com...
> Hi NG.
>
> I'm having trouble with form textareas containing " ' ". Every time I
submit
> a form holding this char php will insert "\" infront of it.
> I'm well aware of the reason for this but I'd like to know just how to get
> rid of the "\".
>
> I've tried using ereg_replace("'","´",$text) but the "\" is inserted the
> very second submit is invoked.
>
> How do I get rid of the "\" or "\'" when I want to show the text the form
> field was holding?
>
> Also, I'd like to know if there is a smart way of replacing "spaces" and
> "new line" in the text with the html code for this. Aka to make the view
> exactly as it was typed in the field.
>
> If anyone can help me with this it would be very much apreciated.
>
> Regards
> ~ Aidal
>
>
--- End Message ---
--- Begin Message ---
Is there a Editor for PHP? I don't know that much about PHP, I just
installed it today, and looked at some code, but i can't finda editor for
it. I am runnign PHP 4 on Windows 2000 Server
Thanks.
Brian Kabela
--- End Message ---
--- Begin Message ---
ftp://ftp.vim.org/pub/vim/pc/gvim61.exe <-- best php editor I have seen.
use it all the time. (well the non-gui version but gui good for beginners)
If you want to shell out some cash...
http://www.activestate.com/Products/Komodo/ <---best IDE I have seen for
PHP, recommend it.
http://www.zend.com/store/products/zend-studio.php <-- bought this one
before I found Komodo. I think it is junk, but thats my own opinion.
Has/had some serious issue when I bought it (version 2.0/2.1). Don't
recommend it.
All three work just fine on windows.
-Peter
> -----Original Message-----
> From: Mgr. Brian Kabela [mailto:mgr_brian@;whsvolleyball.d2g.com]
> Sent: Monday, November 04, 2002 02:37
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] PHP Editor
>
>
> Is there a Editor for PHP? I don't know that much about PHP, I just
> installed it today, and looked at some code, but i can't
> finda editor for
> it. I am runnign PHP 4 on Windows 2000 Server
>
> Thanks.
>
> Brian Kabela
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
If you looking for a small size editor (about 1MB), Editplus should be ok.
It support all syntax highlights for commonly known open-source languages,
JSP, XML, PHP and ASP, HTML, XSLT etc.,
"Mgr. Brian Kabela" <[EMAIL PROTECTED]> wrote in message
news:20021104212527.6016.qmail@;pb1.pair.com...
> Is there a Editor for PHP? I don't know that much about PHP, I just
> installed it today, and looked at some code, but i can't finda editor for
> it. I am runnign PHP 4 on Windows 2000 Server
>
> Thanks.
>
> Brian Kabela
>
>
--- End Message ---