Reuben D. Budiardja <[EMAIL PROTECTED]> wrote:
> Anything simple, and fast?
xml is simple, and fast to implement.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Among other things, this is why XML exists. Use XML. FLASH can handle
it, PHP can handle it, everything out there can handle it. Use XML.
Delimiters will sooner or later break down. Use XML.
Over and out.
Grant Rutherford wrote:
Chris Shiflett wrote:
--- Reuben D. Budiardja wrote:
I d
Chris Shiflett wrote:
--- Reuben D. Budiardja wrote:
I did strive for that. But whatever character I choose, the problem
remains that we can't guarantee that it's going ot be only used as
deliminater, since the deliminated string is an input from user. So
the problem remains.
Well, just to
On Friday 18 July 2003 03:43 pm, CPT John W. Holmes wrote:
> From: "Reuben D. Budiardja" <[EMAIL PROTECTED]>
>
> > This is a hypothetical situation. The real situation is that I am trying
>
> to
>
> > have a protocol for data sent by client using Flash. But the basic
>
> question
>
> > remains.
>
>
--- Reuben D. Budiardja wrote:
> I did strive for that. But whatever character I choose, the problem
> remains that we can't guarantee that it's going ot be only used as
> deliminater, since the deliminated string is an input from user. So
> the problem remains.
Well, just to point out, your delim
On Friday 18 July 2003 03:33 pm, Chris Sherwood wrote:
> After reading your problem
>
> this is what I think you should do is dont let the user enter the string
> predelimited
> have them enter each individual string at which point you can safely search
> for the delimiter and replace it with the c
From: "Reuben D. Budiardja" <[EMAIL PROTECTED]>
>
> This is a hypothetical situation. The real situation is that I am trying
to
> have a protocol for data sent by client using Flash. But the basic
question
> remains.
So FLASH is creating the string that you must decode in PHP? Is there any
way to
After reading your problem
this is what I think you should do is dont let the user enter the string
predelimited
have them enter each individual string at which point you can safely search
for the delimiter and replace it with the character of your choice "_" is a
favorite of mine.
then rebuild t
load a bunch of characters into an array. Do a loop
through that array and check all of your $strings for
the current character in your loop. If the current
array character does not exist in any of them, you
have your delimiter.
I could put together an example if you want me to.
__
On Saturday 19 July 2003 03:04, Reuben D. Budiardja wrote:
> > You should strive to make your delimiter unique. A delimiter that might
> > possibly appear within the items it is meant to delimit is no longer a
> > delimiter.
>
> I did strive for that. But whatever character I choose, the problem r
On Friday 18 July 2003 03:01 pm, you wrote:
> > On Friday 18 July 2003 02:42 pm, Chris Shiflett wrote:
> > > --- "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote:
> > > > Suppose I have a long string like
> > > > $myStr = "$string1:$string2:$string3";
> > > >
> > > > I can obviously explode them usi
One set of delimiters I often use for text files is ~~ or ^^. They are
fairly unique. If they do appear in a file then there is probably
garbage in the file and I want to know about. For my templates
"delimiter" I use {::TagName::}. You could use }::{ as your delimiter.
Don't limit yourself to
Reuben D. Budiardja wrote:
I did strive for that. But whatever character I choose, the problem remains
that we can't guarantee that it's going ot be only used as deliminater, since
the deliminated string is an input from user. So the problem remains.
Are you adding the delimiter? If so, maybe yo
> On Friday 18 July 2003 02:42 pm, Chris Shiflett wrote:
> > --- "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote:
> > > Suppose I have a long string like
> > > $myStr = "$string1:$string2:$string3";
> > >
> > > I can obviously explode them using ":" as the separator. But what if
> > > $string1 cont
On Friday 18 July 2003 02:42 pm, Chris Shiflett wrote:
> --- "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote:
> > Suppose I have a long string like
> > $myStr = "$string1:$string2:$string3";
> >
> > I can obviously explode them using ":" as the separator. But what if
> > $string1 contains the chara
--- "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote:
> Suppose I have a long string like
> $myStr = "$string1:$string2:$string3";
>
> I can obviously explode them using ":" as the separator. But what if
> $string1 contains the character ":" by itself?
You should strive to make your delimiter uni
16 matches
Mail list logo