Re: PHP copy() and file() functions
| From: | Stas Trefilov | Date: | Thu, 13 Jul 2000 08:09:30 +0000 |
| Subject: | Re: PHP copy() and file() functions | ||
| References: | 1 | Groups: | php.windows php.windows |
| Request: | Send a blank email to php-windows+get-1076@lists.php.net to get a copy of this message | ||
Robert J Sherman wrote:
> So, what I'm looking for is a way to eliminate the use of the stripslashes
> function
> from the copy() function... allowing this application to easily migrate from
> win32 to Un*x
Try to put your variable in quotes:
copy ("$file", "new_file.txt");
instead of
copy (stripslashes ($file), "new_file.txt");
--
Stas Trefilov
Moscow Russia