... which isnt necesarily a bad thing.

At 14:27 8/02/2001 +1030, David Robley wrote:
>On Thu,  8 Feb 2001 14:17, John Vanderbeck wrote:
>...
> > The title of this book doesn\'t really matter to \"me\"!
> >
> > Note the addition of the escape sequences.  How can I stop this?
>...
>addslashes and stripslashes are the functions you need.

I remember somebody once saying about VMS that it wasn't that easy to
string commands together and munge them in the way you could with Unix,
but most of the time it didn't matter - if you dug about in the manuals
a bit you were eventually going to find something that did what you wanted.

I remember making the comparison when I saw the "hebrev" function
(http://www.php.net/manual/en/function.hebrev.php) which
will "convert logical Hebrew text to visual text".  What other language,
other than PHP ( or something done specifically for use in Talmudic
Studies ) would have as part of it's base code set a function
for processing hebrew text?

The thing is that PHP is designed to run as a Web Server module
which , in programming terms, is a bit of a desert island - you have to be
as self sufficient a you can because it isn't easy to duck down to the
corner store to get a sorting algorithm. So it makes sense to have as much
useful functionality on hand as possible.

So the moral of this long ramble is: if you need to do something like
stripping out or adding slashes it is well worth your while having a
dig through the manual - you may well find the function you need.


-------------------------
Brian White
Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy
Phone: +612-93197901
Web:   http://www.steptwo.com.au/
Email: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to