Re: [PHP] Spaces in filename or path

2011-04-30 Thread Richard Quadling
On 30 April 2011 22:07, Tim Streater t...@clothears.org.uk wrote: Does it matter to PHP filesystem functions if a path/to/file/name contains spaces? IOW, is this handled OK by design or should I replaces such spaces by backslash-space or would doing that present problems? Thanks  --  tim

Re: Re: [PHP] Spaces in filename or path

2011-04-30 Thread Tim Streater
On 30 Apr 2011 at 22:33, Richard Quadling rquadl...@gmail.com wrote: On 30 April 2011 22:07, Tim Streater t...@clothears.org.uk wrote: Does it matter to PHP filesystem functions if a path/to/file/name contains spaces? IOW, is this handled OK by design or should I replaces such spaces by

Re: Re: [PHP] Spaces in filename or path

2011-04-30 Thread Ashley Sheridan
Tim Streater t...@clothears.org.uk wrote: On 30 Apr 2011 at 22:33, Richard Quadling rquadl...@gmail.com wrote: On 30 April 2011 22:07, Tim Streater t...@clothears.org.uk wrote: Does it matter to PHP filesystem functions if a path/to/file/name contains spaces? IOW, is this handled OK by design

Re: [PHP] spaces - not sure if this is a preg_match issue or a regexp issue

2008-06-09 Thread DeadTOm
what about just writing a utility to manipulate the files names to remove spaces? -- Bastien Cat, the other other white meat Because it's not a separate file. The attachment is encoded as plain text into the nntp message. -- DeadTOm http://www.mtlaners.org [EMAIL PROTECTED] A Linux

Re: [PHP] spaces - not sure if this is a preg_match issue or a regexp issue

2008-06-07 Thread Runar Olsen
Hi, I'm working on a script to look for a UUEncoded attachment in an NNTP message. I'm running into problems with spaces in the filename of the attachment. UUEncoded files in the body of a message will start with the word begin, then the size of the file, then the name of the file. Then the

Re: [PHP] spaces - not sure if this is a preg_match issue or a regexp issue

2008-06-07 Thread Bastien Koert
On 6/7/08, Runar Olsen [EMAIL PROTECTED] wrote: Hi, I'm working on a script to look for a UUEncoded attachment in an NNTP message. I'm running into problems with spaces in the filename of the attachment. UUEncoded files in the body of a message will start with the word begin, then the size

Re: [PHP] spaces - not sure if this is a preg_match issue or a regexp issue

2008-06-06 Thread Jim Lucas
DeadTOm wrote: I'm working on a script to look for a UUEncoded attachment in an NNTP message. I'm running into problems with spaces in the filename of the attachment. UUEncoded files in the body of a message will start with the word begin, then the size of the file, then the name of the file.

Re: [PHP] spaces in select

2004-10-11 Thread Matt M.
I have a select/option that gets populated with countries. The value of these option are also set to the country name. The problem i have is that some countries have spaces in them eg: United States of America. what doe your select loo like? something like this should work select

Re: [PHP] spaces in select

2004-10-11 Thread Dan Joseph
I have a select/option that gets populated with countries. The value of these option are also set to the country name. The problem i have is that some countries have spaces in them eg: United States of America. When the form is posted and I echo the country variable out that has been

RE: [PHP] spaces in select

2004-10-11 Thread Nunners
Another suggestion is to use country codes - generally accepted by most i.e. uk, us, ch, cn, za etc -Original Message- From: Matt M. [mailto:[EMAIL PROTECTED] Sent: 11 October 2004 15:42 To: Angelo Zanetti Cc: [EMAIL PROTECTED] Subject: Re: [PHP] spaces in select I have a select

Re: [PHP] spaces in select-SOLVED

2004-10-11 Thread Angelo Zanetti
ok thanks to those who responded: this is how i got it working: echo(option value=\ . $row['location'] . \ . trim($row['location']) . /option); Angelo Dan Joseph [EMAIL PROTECTED] 10/11/2004 4:43:56 PM I have a select/option that gets populated with countries. The value of these

Re: [PHP] spaces in select

2004-10-11 Thread John Nichel
Angelo Zanetti wrote: Hi all, I have a select/option that gets populated with countries. The value of these option are also set to the country name. The problem i have is that some countries have spaces in them eg: United States of America. When the form is posted and I echo the country variable

Re: [PHP] Spaces collapsed in database

2003-02-28 Thread Hugh Danaher
perhaps you are parsing out the spaces before inserting the vars in the database? - Original Message - From: Alberto Brea [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 28, 2003 7:58 AM Subject: [PHP] Spaces collapsed in database Hi, list I had certain information in a

Re: [PHP] Spaces

2002-12-09 Thread Andrew Brampton
replace more than 1 space in a row with a nbsp; OR, when outputing their text place a pre tag around it Andrew - Original Message - From: Stephen To: PHP List Sent: Monday, December 09, 2002 9:25 PM Subject: [PHP] Spaces I have a article submission thing where the user

Re: [PHP] Spaces

2002-12-09 Thread Stephen
So would I just do this? $text = str_replace( , nbsp;, $_POST['input']); - Original Message - From: Andrew Brampton [EMAIL PROTECTED] To: Stephen [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, December 09, 2002 4:30 PM Subject: Re: [PHP] Spaces replace more than 1 space in a row

Re: [PHP] Spaces

2002-12-09 Thread Stephen
: Monday, December 09, 2002 5:36 PM Subject: Re: [PHP] Spaces $text = str_replace( , nbsp;nbsp;, $_POST['input']); would be better, since each nbsp; is a space $text = str_replace( , nbsp; , $_POST['input']); might work also, but I'm unsure how browsers handle nbsp; nbsp; nbsp

Re: [PHP] Spaces

2002-12-07 Thread Leif K-Brooks
This isn't really a PHP question, but look at the pre html tag. Patrick McKinley wrote: Is there a way of getting a php to display all the spaces in a file. i have used this to display an nfo file on my site: ---nfoload.php ? $fol = $_GET['fol']; $nfono = $_GET['nfono'];

Re: [PHP] Spaces

2002-12-07 Thread Patrick McKinley
uhm, i feel silly now, ignore my question please :D - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] To: Patrick McKinley [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, December 07, 2002 8:08 PM Subject: Re: [PHP] Spaces This isn't really a PHP question, but look

RE: [PHP] Spaces

2002-12-07 Thread John W. Holmes
now since nfo files tend to include a fair bit of of ASCII art in them, i was wandering if there's a way to preserve the spaces in this file, so the ASCII art is preserved. This is an HTML issue. HTML will only show one space. You can convert all spaces to nbsp; or you can use the pre tags.

Re: [PHP] spaces vs nbsp; in form fields

2001-10-29 Thread Richard S. Crawford
The problem is that you have special characters that are interfering with the output. I had exactly the same problem a few weeks ago. Try this: $fixedOutputValue = htmlspecialchars($outputValue); print (input type=\text\ value=\$fixedOutputValue\ /); This is how I solved it. Note that