You are here: Re: tricky php, can anyone help « PHP Programming Language « IT news, forums, messages
Re: tricky php, can anyone help

Posted by Luuk on 11/13/27 12:00

"C. (http://symcbean.blogspot.com/)" <colin.mckinnon@gmail.com> schreef in
bericht
news:95db974c-57ba-419e-9ada-d9f4dcc98c92@u10g2000prn.googlegroups.com...

>> try the example onhttp://nl3.php.net/manual/en/function.copy.php
>> <?php
>> $file = 'example.txt';
>> $newfile = 'example.txt.bak';
>>
>> if (!copy($file, $newfile)) {
>> echo "failed to copy $file...\n";}
>>
>> ?>
>
> no - use move_uploaded_file() instead - RTFM
>
> C.

it was the manual i quoted......
OP was using copy() and was wondering why it did not work,
not questioning himself if there was another (or better) option.

;-)

 

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

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