|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2013-04-19 08:31 UTC] ab@php.net
-Status: Open
+Status: Analyzed
[2013-04-19 08:31 UTC] ab@php.net
[2013-04-20 18:56 UTC] ovidiu at softped dot net
[2014-01-05 20:20 UTC] ab@php.net
-Status: Analyzed
+Status: Closed
-Assigned To:
+Assigned To: ab
[2014-01-05 20:20 UTC] ab@php.net
[2020-05-12 13:16 UTC] alvin79 dot torre at gmail dot com
[2020-05-12 13:21 UTC] alvin79 dot torre at gmail dot com
[2020-05-12 13:28 UTC] alvin79 dot torre at gmail dot com
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 18 10:00:02 2025 UTC |
Description: ------------ When open_basedir is set to something other than "no value" the copy function fails when trying to read from php://input with the following message: Warning: copy(): open_basedir restriction in effect. File(php://input) is not within the allowed path(s): (d:\server) However, when trying file_get_contents('php://input') it successfully reads the data. Test script: --------------- <?php copy('php://input','destination.txt'); ?> Expected result: ---------------- Expected a new file to be created "destination.txt" with the contents of php://input Actual result: -------------- Warning: copy(): open_basedir restriction in effect. File(php://input) is not within the allowed path(s): (d:\server)