Re: [PHP] Got another ripper for you all ;-)

2002-08-15 Thread Liam MacKenzie
Damnit! I think I need to go home, or even better, take a holiday for a fortnight. Thanks dude. - Original Message - From: "Luke Welling" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 15, 2002 5:30 PM Subject: Re: [PHP] Got anot

Re: [PHP] Got another ripper for you all ;-)

2002-08-15 Thread Liam MacKenzie
++; } } echo "$i"; closedir($handle); } } - Original Message - From: "Liam MacKenzie" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 15, 2002 3:38 PM Subject: Re: [PHP] Got another ripper for you all ;-) Nup, still doe

Re: [PHP] Got another ripper for you all ;-)

2002-08-15 Thread Luke Welling
> trim($ulist[1]); You mean: $ulist[1] = trim($ulist[1]); Trim() returns a modifies copy of the string. It does not alter the original. A lot of the string functions work like that. Luke Welling -- PHP and MySQL Web Development by Luke Welling and Laura Thomson http://www.amazon.com/exec/obido

Re: [PHP] Got another ripper for you all ;-)

2002-08-14 Thread Liam MacKenzie
; To: "Tom Rogers" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, August 15, 2002 3:32 PM Subject: Re: [PHP] Got another ripper for you all ;-) Oh Whoops Thanks Tom - Original Message ----- From: "Tom Rogers" <[EMAIL PROTECTED]> To:

Re: [PHP] Got another ripper for you all ;-)

2002-08-14 Thread Liam MacKenzie
Oh Whoops Thanks Tom - Original Message - From: "Tom Rogers" <[EMAIL PROTECTED]> To: "Liam MacKenzie" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, August 15, 2002 3:34 PM Subject: Re: [PHP] Got another ripper for you all ;

Re: [PHP] Got another ripper for you all ;-)

2002-08-14 Thread Tom Rogers
Hi, Thursday, August 15, 2002, 3:20:47 PM, you wrote: >snip LM> Is there a way to get rid of any new lines in a string? LM> Because this is making my directory listing go whacko. LM> Cheers, LM> Liam trim($dir) -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] Got another ripper for you all ;-)

2002-08-14 Thread Liam MacKenzie
- Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "Liam MacKenzie" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, August 15, 2002 3:27 PM Subject: Re: [PHP] Got another ripper for you all ;-) what about $dir = str_replac

Re: [PHP] Got another ripper for you all ;-)

2002-08-14 Thread Liam MacKenzie
ent: Thursday, August 15, 2002 3:27 PM Subject: Re: [PHP] Got another ripper for you all ;-) what about $dir = str_replace('\n','',$dir); ??? The manual is full of all sorts of good stuff! Justin on 15/08/02 3:20 PM, Liam MacKenzie ([EMAIL PROTECTED]) wrote: > Hey g

Re: [PHP] Got another ripper for you all ;-)

2002-08-14 Thread Justin French
what about $dir = str_replace('\n','',$dir); ??? The manual is full of all sorts of good stuff! Justin on 15/08/02 3:20 PM, Liam MacKenzie ([EMAIL PROTECTED]) wrote: > Hey guys, > > yep, another one... > > > I do this: > echo "-".$dir."-"; > > I get this: > > -/home/eXtremail/mbox/i-re

[PHP] Got another ripper for you all ;-)

2002-08-14 Thread Liam MacKenzie
Hey guys, yep, another one... I do this: echo "-".$dir."-"; I get this: -/home/eXtremail/mbox/i-redlands.net/9/1/liam - Note the new line at the end. Is there a way to get rid of any new lines in a string? Because this is making my directory listing go whacko. Cheers, Liam -- PHP Gen