Re: space in filenames when uploading?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Strange... I just tried creating and writing to a text file by using a filename with a space in it and it worked ok. Perhaps consider using str_replace to convert spaces to the ascii value for a space (chr(32) I believe) and give it a shot. Cheers.

Armando

Gustav Wiberg wrote:
Hi!

Of course I have tried it! Therefore I asked... :-) (I always try things first if I know what to test)
The problem is that normal files (with no spaces) are uploaded and displayed as I want to. Files with spaces doesn't seem to be displayed.

I think it could be something with paths or so on...

Best regards
/Gustav
-----Original Message-----
From: Stut [mailto:stuttle@xxxxxxxxx] Sent: Wednesday, September 05, 2007 6:01 PM
To: Gustav Wiberg
Cc: 'php-windows@xxxxxxxxxxxxx'
Subject: Re:  space in filenames when uploading?

Gustav Wiberg wrote:
When using file-upload. IS there a restriction of uploading filenames when they have space in it? I would like to be able to upload those files as well...
like my name
gustav wiberg.jpg

Have you tried it? Your first step with questions of a "will this work" nature is to try it before asking here.

-Stut


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux