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

2011-04-30 Thread Ashley Sheridan
"Tim Streater" wrote: >On 30 Apr 2011 at 22:33, Richard Quadling wrote: > >> On 30 April 2011 22:07, Tim Streater 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 >>> backsla

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

2011-04-30 Thread Tim Streater
On 30 Apr 2011 at 22:33, Richard Quadling wrote: > On 30 April 2011 22:07, Tim Streater 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 pr

Re: [PHP] Spaces in filename or path

2011-04-30 Thread Richard Quadling
On 30 April 2011 22:07, Tim Streater 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 On Windows, PHP wi

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 L

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",

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 enc

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. T

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 in select-SOLVED

2004-10-11 Thread Angelo Zanetti
ok thanks to those who responded: this is how i got it working: echo("" . trim($row['location']) . ""); 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 option are also set to the coun

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 se

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 > bee

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 United Sta

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

Re: [PHP] Spaces

2002-12-09 Thread Stephen
Stephen" <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 5:36 PM Subject: Re: [PHP] Spaces > $text = str_replace(" ", "  ", $_POST['input']); > > would be better, since each   is a space > > $text = str_replace(&qu

Re: [PHP] Spaces

2002-12-09 Thread Stephen
So would I just do this? $text = str_replace(" ", " ", $_POST['input']); - Original Message - From: "Andrew Brampton" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, December 09

Re: [PHP] Spaces

2002-12-09 Thread Andrew Brampton
replace more than 1 space in a row with a   OR, when outputing their text place a 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 types in w

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   or you can use the tags. is pro

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] Space

Re: [PHP] Spaces

2002-12-07 Thread Leif K-Brooks
This isn't really a PHP question, but look at the 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']; require("n

Re: [PHP] spaces vs   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 (""); This is how I solved it. Note that putting htmlspecialchars($outputValue) in the val