Re: [PHP] + in filenames

2003-02-03 Thread ed
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

Re: [PHP] + in filenames

2003-02-03 Thread Marek Kilimajer
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

Re: [PHP] + in filenames

2003-01-31 Thread ed
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

Re: [PHP] + in filenames

2003-01-31 Thread Marek Kilimajer
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

RE: [PHP] + in filenames

2003-01-25 Thread Victor
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

RE: [PHP] + in filenames

2003-01-25 Thread Richard Whitney
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]

RE: [PHP] + in filenames

2003-01-25 Thread Victor
_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

Re: [PHP] + in filenames

2003-01-25 Thread Richard Whitney
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

[PHP] + in filenames

2003-01-25 Thread Victor
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 __