ID: 7860
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: Filesystem function related
Operating system:
PHP Version: 4.0.3pl1
Assigned To:
Comments:
No feedback. Reopen if this doesn't work with PHP 4.0.6
(which is released today)
Previous Comments:
---------------------------------------------------------------------------
[2001-06-03 01:14:26] [EMAIL PROTECTED]
Does this happen with PHP 4.0.5? And fyi, UNC support is
added in PHP 4.0.6..
---------------------------------------------------------------------------
[2000-11-23 07:36:13] [EMAIL PROTECTED]
reclassify - this has nothing to do with PHP networking.
---------------------------------------------------------------------------
[2000-11-17 09:37:29] [EMAIL PROTECTED]
I've exchanged a few emails and it does seem that NY access permissions are ok -
'Everyone' has 'full control' on the shared drive.
Any other ideas anyone?
---------------------------------------------------------------------------
[2000-11-17 04:06:54] [EMAIL PROTECTED]
When you copy file in the dos window, you do so with the permissions of whoever you
logged on as. When PHP does it, it probably does it as IUSR_MACHINENAME - which may
not have permission to access the network drive.
Can you check your permissions and report back.
---------------------------------------------------------------------------
[2000-11-17 03:45:57] [EMAIL PROTECTED]
Hi,
I have an Apache Server and PHP 4.0.3pl1 installed on WindowsNT.
I am trying to make the following script work
The pb is when the destination file is on c:dir$Fichier_dest it works
but when i use a virutal letter F: that point on a network computer,
the answer is unable to create file 'myfile' : permission denied !
and when a try the same thing in a MS-DOS window (copy c:myfile.txt
f:myfile.txt) it works !!!!!
does anyone can help me ????
the script :
<html>
<?
if ($Fichier && $Fichier != "none") {
echo "<U><B>Votre fichier :</B></U><BR>";
echo "Fichier sur serveur : $Fichier<BR>";
echo "Fichier envoy� : $Fichier_name<BR>";
echo "Taille : $Fichier_size<BR>";
echo "Type : $Fichier_type<BR>";
$Fichier_dest = "f:\".$Fichier_name;
if (!copy($Fichier, $Fichier_dest)) {
print ("failed to copy $Fichier_dest <br>n");
echo "$php_errormsg";
} else {
print ("$Fichier_dest copi�...");
}
}
?>
<BODY>
<FORM ENCTYPE="multipart/form-data" METHOD="POST">
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="100000">
Envoyer le fichier : <INPUT NAME="Fichier" TYPE="file">
<INPUT TYPE="submit" VALUE="Envoyer le fichier">
</FORM>
</BODY>
</HTML>
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the
comments, please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7860&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]