Bug #9916 Updated: fopen() in w or a mode to a remote server (via HTTP)don't give back any error
| From: | derick@php.net | Date: | Sun, 29 Apr 2001 14:58:32 +0000 |
| Subject: | Bug #9916 Updated: fopen() in w or a mode to a remote server (via HTTP)don't give back any error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52911@lists.php.net to get a copy of this message | ||
ID: 9916
Updated by: derick
Reported By: ba1ba@yahoo.com
Old-Status: Open
Status: Closed
Bug Type: *Directory/Filesystem functions
PHP Version: 4.0.4pl1
Assigned To:
Comments:
Are you trying to save a file on a remote URL with HTTP here? If that's the case, then it
won't ever work. The HTTP protocol is not designed for this. Please reopen if I got this wrong.
Derick
Previous Comments:
---------------------------------------------------------------------------
[2001-03-22 07:52:23] ba1ba@yahoo.com
$fp = fopen("http://www.server.com/data/file.txt);
fput($string,$fp);
/* comment
data have chmod 777
file.txt have chmod 666
when you execute fput() all look ok, but when you read
file.txt nothing in.
Thanks
Bob
*/
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9916&edit=2