Re: How to get php to accept spaces in a file name?
| From: | Bogdan Stancescu | Date: | Tue, 22 Jan 2002 13:30:39 +0000 |
| Subject: | Re: How to get php to accept spaces in a file name? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81540@lists.php.net to get a copy of this message | ||
rawurlencode() is the answer to your question.
Bogdan
Kevin Garrett wrote:
> Hi guys,
>
> I've an index script which views the contents of a directory on a unix
> server. This unix server has also got file with windows naming convesion,
> which makes a file with spaces look like this "/this\ is\ an\ example/".
> The file name itself appears fine but there is also a link to the file which
> would only see the "/this\ " part of the file.
>
> My question is, does anybody know how to get php to accept spaces in a file
> name?
>
> Thanks
> Kev
>
> _________________________________________________________________
> Join the worlds largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net