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

[PHP] Spaces in filename or path

2011-04-30 Thread Tim Streater
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

[PHP] Spaces Not Detected from Regular Expression preg_match

2009-02-25 Thread Alice Wei
Hi, I have a code as in the following: This is the input file: 1 23kd 3dkd2 " " 4 5 6 For the output, I get nothing running it from the command prompt, but I would like to have " " in the output, could anyone please give me some guides on what I have done wrong in my regular expressio

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

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

2008-06-06 Thread DeadTOm
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 encoded f

[PHP] spaces in directory names

2005-12-18 Thread matt VanDeWalle
hello, I have encountered this on several cds and well when i went to a friend's ftp site in windows, using linux and php(i think its a linux mainly question) but i have run accross files and directory names like this: they appear like this in linux, path\ of\ the\ windows\ file.txt i am try

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

[PHP] spaces in select

2004-10-11 Thread Angelo Zanetti
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 out that has been po

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 h

[PHP] Spaces collapsed in database

2003-02-28 Thread Alberto Brea
Hi, list I had certain information in a text file, which showed ok upon fopen() and parsing, but when I put it into a MySQL database, instead of echoing directly into the browser, the spaces in the strings collapsed, so that "One Two & Three" became "OneTwo&Three" in the database table. When I r

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

[PHP] Spaces

2002-12-09 Thread Stephen
I have a article submission thing where the user types in whatever they want. I've already made it so that when the user pushes enter, it saves it as a for HTML but how would I do this for spaces also? I'm storing the contents in a MySQL database... Thanks,Stephen Cratonhttp://www.melchior.u

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

[PHP] Spaces

2002-12-07 Thread Patrick McKinley
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 nfo/$fol/ind.txt (tells the script filenames for the nfo files) now since nfo files tend

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

[PHP] spaces vs   in form fields

2001-10-29 Thread Greg
I have a function which takes an integer (the id field for a record) and returns the corresponding full name of the person whose id matches the integer. The function constructs the full name by querying a table for the row which matches the id and then concatenating firstname, middlename, and las