You are here: RE: [PHP] rename an uploaded file. « PHP « IT news, forums, messages
RE: [PHP] rename an uploaded file.

Posted by "Ford, Mike" on 08/11/05 17:12

On 10 August 2005 22:19, Richard Lynch wrote:

> You can also, in some versions, "get away" with having \
> inside of "" so
> long as the following character isn't special:
> $string = "C:\homedirectory\uploadedfiles\\newfile.gif";
>
> Note that the 'n' character is special (newline) but 'h' and 'u' are
> not (I don't think) so this "should work"
>
> That doesn't make it Good Practice.

Especially as \u is likely to be a special sequence in the Unicode-enabled
PHP 6.0 when it comes out!

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211


To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация