|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-15 15:33 UTC] derick@php.net
[2005-02-17 06:16 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 02:00:01 2025 UTC |
Description: ------------ My Web Host is running PHP 4.3.11-dev on redhat linux. When windows users try to upload files to the server, it takes the full file path C:\fullFilePath\filename.ext.As a result the file is not uploaded and therefore isn't working. The code was working on a previous version of PHP. The host has just upgraded their version of PHP. Is this a stable release? Your PHP version drop menu doesn't have this version. Reproduce code: --------------- if ($error == "") { if (is_uploaded_file($imgtemp)){ move_uploaded_file($imgtemp, fusion_basedir."fusion_images/".$imgname); chmod(fusion_basedir."fusion_images/".$imgname,0644); echo "<center><br> <img src='".fusion_basedir."fusion_images/$imgname'><br> Expected result: ---------------- a file uploaded to the server. Actual result: -------------- C:\\WINNT\\Profiles\\mshuffle\\Desktop\\street.jpg