Hi, I say some of you wanted that so here it is... i just copy pasted it as
i use it on my page without changes so you transforme it any way you like!!
upload.php
-----------------------
<html>
<head>
<link rel=stylesheet type="text/css" href="../stil.css">
<title>MAjNe StraNiCa - UPLOAD</title>M
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<body bgcolor="#33333 3" text="#CCCCCC">
<p>
Forma za slanje datoteka na server!!<br>
Ukoliko ne znate lozinku to necete moci uciniti :))<br>
<hr width="50%" align="left">
<form enctype="multip art/form-data" action="up.php" method="post">
<input type="hidden" name="MAX_FILE_ SIZE" value="5000000" >
Datoteka: <br><input name="userfile" type="file" size="25">
<p>
Lozinka: <br><INPUT TYPE="password" NAME="pwd" size="25">
<p>
<input type="submit" value="UpLoad">
</form>
<hr width="50%" align="left">
<p>
</body>
</html>
-------------------------
up.php
-------------------------
<html>
<head>
<title>prebacuj em podatke</title>
<link rel=stylesheet type="text/css" href="../stil.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<body bgcolor="#33333 3" text="#CCCCCC">
</head>
<body>
<p align="center">
<?php
if($pwd=="trust no1") {
copy ($userfile,
"/home/users/d/dedamraz/public_html/upload/stiglo/$userfile_name" );
echo "<center>$userf ile <br>";
echo "$userfile_ name <br>";
echo "$userfile_ size <br>";
echo "$userfile_ type <br>";
echo "$MAX_FILE_ SIZE <br>";
echo "DATOTEKA POSLANA NA SERVER<p>";
} else
echo "KRIVA LOZINKA!!!";
?>
</body>
</html>
--
Bolje ispasti glup nego iz aviona!
i use it on my page without changes so you transforme it any way you like!!
upload.php
-----------------------
<html>
<head>
<link rel=stylesheet type="text/css" href="../stil.css">
<title>MAjNe StraNiCa - UPLOAD</title>M
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<body bgcolor="#33333 3" text="#CCCCCC">
<p>
Forma za slanje datoteka na server!!<br>
Ukoliko ne znate lozinku to necete moci uciniti :))<br>
<hr width="50%" align="left">
<form enctype="multip art/form-data" action="up.php" method="post">
<input type="hidden" name="MAX_FILE_ SIZE" value="5000000" >
Datoteka: <br><input name="userfile" type="file" size="25">
<p>
Lozinka: <br><INPUT TYPE="password" NAME="pwd" size="25">
<p>
<input type="submit" value="UpLoad">
</form>
<hr width="50%" align="left">
<p>
</body>
</html>
-------------------------
up.php
-------------------------
<html>
<head>
<title>prebacuj em podatke</title>
<link rel=stylesheet type="text/css" href="../stil.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<body bgcolor="#33333 3" text="#CCCCCC">
</head>
<body>
<p align="center">
<?php
if($pwd=="trust no1") {
copy ($userfile,
"/home/users/d/dedamraz/public_html/upload/stiglo/$userfile_name" );
echo "<center>$userf ile <br>";
echo "$userfile_ name <br>";
echo "$userfile_ size <br>";
echo "$userfile_ type <br>";
echo "$MAX_FILE_ SIZE <br>";
echo "DATOTEKA POSLANA NA SERVER<p>";
} else
echo "KRIVA LOZINKA!!!";
?>
</body>
</html>
--
Bolje ispasti glup nego iz aviona!