"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
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
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
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
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
> 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
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",
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
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
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
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
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
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
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
> 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
> 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
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
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
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
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
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
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
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
> 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
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
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
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
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
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
29 matches
Mail list logo