upload again
Posted: Sun Mar 30, 2003 11:19 am
Hi
this is my syntax:
<html>
<head>
<title>Chargement de fichier</title>
</head>
<body>
<H3>Cette page vous permet d'envoyer un fichier sur le serveur</H3>
<form action="upload2.php" enctype="multipart"/form-data" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="1024"/>
Charger le fichier: <input name="fichier" type="file" /><br />
<input type="submit" value="GO >>">
</form>
</body>
</html>
And this is the syntax of upload2.php
<?php copy($_FILES['userfile']['tmp_name'], "/docu/compta/");
?>
And now what appear on screen for upload2.php
Warning: Unable to open '' for reading: Permission denied in c:\program files\easyphp\www\maredsous\intranet\upload2.php on line 1
Does anyone know what is happening???? I hope you can help me
this is my syntax:
<html>
<head>
<title>Chargement de fichier</title>
</head>
<body>
<H3>Cette page vous permet d'envoyer un fichier sur le serveur</H3>
<form action="upload2.php" enctype="multipart"/form-data" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="1024"/>
Charger le fichier: <input name="fichier" type="file" /><br />
<input type="submit" value="GO >>">
</form>
</body>
</html>
And this is the syntax of upload2.php
<?php copy($_FILES['userfile']['tmp_name'], "/docu/compta/");
?>
And now what appear on screen for upload2.php
Warning: Unable to open '' for reading: Permission denied in c:\program files\easyphp\www\maredsous\intranet\upload2.php on line 1
Does anyone know what is happening???? I hope you can help me