I'll be the first to admit I was wrong and missed that. This will work out
great for me. I'm writting scripts for Realtors to upload photos to us via
the web and you can only imagine what these people will include in a
filename.
Ed
On Mon, 3 Feb 2003, Marek Kilimajer wrote:
> That double quo
That double quote is escaped
[EMAIL PROTECTED] wrote:
On Fri, 31 Jan 2003, Marek Kilimajer wrote:
I use this:
$name=strtr( $name,
" ?*#$%^:+=<>/\"",
"__");
I'm hoping that double quote was a typo??
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsub
On Fri, 31 Jan 2003, Marek Kilimajer wrote:
> I use this:
> $name=strtr( $name,
> " ?*#$%^:+=<>/\"",
> "__");
>
I'm hoping that double quote was a typo??
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nt breack when a user uploads a file
that has the + character in it's name.
- Vic
-Original Message-
From: Richard Whitney [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 25, 2003 5:32 PM
To: Victor
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] + in filenames
Victor!
What are you
From: Richard Whitney [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 25, 2003 5:32 PM
To: Victor
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] + in filenames
Victor!
What are you trying to accomplish?
Do you want to preserve the original filename?
Why not give uploaded files uniformly unique names?
In
ame = str_replace(" ", "", $picture_name);
###
### ________
###
### -Original Message-
### From: Richard Whitney [mailto:[EMAIL PROTECTED]]
### Sent: Saturday, January 25, 2003 5:12 PM
### To: Victor
### Cc: [EMAIL PROTECTED]
_replace(" ", "", $picture_name);
____________
-Original Message-
From: Richard Whitney [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 25, 2003 5:12 PM
To: Victor
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] + in filenames
Some sample code would help, but maybe try urldecode('$filename');
RW
Quoting Victor <[EMAIL PROTECTED]>:
### I have a file upload field, and some filename checking code, but it
### breaks the code whenever a + is inside the filename it verifies space
### and other tags but breaks on + in the na
I have a file upload field, and some filename checking code, but it
breaks the code whenever a + is inside the filename it verifies space
and other tags but breaks on + in the name. Anyone know a fix for this
please?
- Vic
__
9 matches
Mail list logo