php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9916 fopen() in w or a mode to a remote server (via HTTP)don't give back any error
Submitted: 2001-03-22 07:52 UTC Modified: 2001-04-29 10:58 UTC
From: ba1ba at yahoo dot com Assigned:
Status: Closed Package: *Directory/Filesystem functions
PHP Version: 4.0.4pl1 OS: Any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ba1ba at yahoo dot com
New email:
PHP Version: OS:

 

 [2001-03-22 07:52 UTC] ba1ba at yahoo dot 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
*/

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-29 10:58 UTC] derick@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 22:01:31 2024 UTC