Re: [PHP] urlencode() and newlines?

2004-10-16 Thread Nick Wilson
* and then Marek Kilimajer declared > >> > >>echo urlencode("This is a line\nThis is another line"); > > > > > >Yep, i can see that it's encoded but when the data is POSTed to a form, > >it does not come out as a newline... > > Are you sure the other side accepts, does not remove newlines? Cr

Re: [PHP] urlencode() and newlines?

2004-10-16 Thread Marek Kilimajer
Nick Wilson wrote: * and then Marek Kilimajer declared Nick Wilson wrote: hello all, For reasons beyond my immediate control i have to keep some strings of text in a text *new line delimited* text file. I also have to urlencode those strings for use in my script. Like this: ## text file Thi

Re: [PHP] urlencode() and newlines?

2004-10-16 Thread Nick Wilson
* and then Marek Kilimajer declared > Nick Wilson wrote: > >hello all, > > > >For reasons beyond my immediate control i have to keep some strings of > >text in a text *new line delimited* text file. I also have to urlencode > >those strings for use in my script. > > > >Like this: > > > >## t

Re: [PHP] urlencode() and newlines?

2004-10-16 Thread Marek Kilimajer
Nick Wilson wrote: hello all, For reasons beyond my immediate control i have to keep some strings of text in a text *new line delimited* text file. I also have to urlencode those strings for use in my script. Like this: ## text file This is a line\nThis is another line This is another string\nw

[PHP] urlencode() and newlines?

2004-10-16 Thread Nick Wilson
hello all, For reasons beyond my immediate control i have to keep some strings of text in a text *new line delimited* text file. I also have to urlencode those strings for use in my script. Like this: ## text file This is a line\nThis is another line This is another string\nwith some more\nnew