Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> up file, pomocy
Rob.Bed
post
Post #1





Grupa: Zarejestrowani
Postów: 47
Pomógł: 0
Dołączył: 2.06.2005

Ostrzeżenie: (10%)
X----


Kod
function up_file() {

global $id, $obraz, $size, $date, $nick, $opened, $mapamiasta_tbl, $PHP_SELF, $acc, $access, $op, $goto;
if(have_access($op)=='ok') {

move_uploaded_file($obraz, $url.$plik_name);
chmod($url.$plik_name, 0777);

if($goto=='')
header("Location: admin.php?op=$op");
else
header("Location: $goto");
exit;
}
}
I pokazuje mi blad :

Cytat
Warning: move_uploaded_file(): Unable to move 'C:\DOCUME~1\Rob.Bed\USTAWI~1\Temp\php37.tmp' to '' in c:\usr\krasnal\www\jportal\admin\mapamiasta.adm.php on line 125

Warning: Cannot modify header information - headers already sent by (output started at c:\usr\krasnal\www\jportal\admin\mapamiasta.adm.php:125) in c:\usr\krasnal\www\jportal\admin\mapamiasta.adm.php on line 129



Linia 125 move_uploaded_file($obraz, $url.$plik_name);
Linia 129 header("Location: admin.php?op=$op");
Go to the top of the page
+Quote Post

Posty w temacie


Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 06:27