Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] jak kopiować pod Windows
marbi
post
Post #1





Grupa: Zarejestrowani
Postów: 32
Pomógł: 0
Dołączył: 17.12.2009

Ostrzeżenie: (0%)
-----


witam,

kod Linux normalnie działa

  1. system("cp \"pliki/$losowy_plik\" \"pozostale/$name_grup/$losowy_plik\" ");


ale już Windows nie

  1. system("copy \"C:\Program Files (x86)\xampp\htdocs\pliki\$losowy_plik\" \"C:\Program Files (x86)\xampp\htdocs\pozostale\$name_grup\$losowy_plik\" ");


apache generuje różne błędy w zależności co zmienię w powyższym kodzie

  1. The filename, directory name, or volume label syntax is incorrect.
  2. The filename, directory name, or volume label syntax is incorrect.
  3. The system cannot find the file specified.
  4. The system cannot find the file specified.


proszę o pomoc jak to zapisać poprawnie do Windows 7

pozdr

Ten post edytował marbi 27.08.2012, 14:13:32
Go to the top of the page
+Quote Post

Posty w temacie
- marbi   [PHP] jak kopiować pod Windows   27.08.2012, 14:12:09
- - prz3kus   http://php.net/manual/en/function.copy.php   27.08.2012, 14:20:21


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 16:58