|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-12 15:18 UTC] tony2001@php.net
[2005-03-20 17:59 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 22:00:01 2025 UTC |
Description: ------------ i'm openning a file through fopen('php://input','r'); which is coming from hytt or vc++ application on linux operataing system. its giving a error inappropriate ioctl device in . Reproduce code: --------------- $fp = fopen("php://input","r"); $filesz = $HTTP_GET_VARS["filesize"];; $contents = fread($fp,$filesz); in $contents i'm not getting any value. when i given stdin then $fp is working but $contents is again null. Expected result: ---------------- its should open a file n store data into $conte.