php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49639 file_get_contents not working in safari
Submitted: 2009-09-23 09:43 UTC Modified: 2009-09-23 11:16 UTC
From: df at wwi dot dk Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.2.11 OS: Linux
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: df at wwi dot dk
New email:
PHP Version: OS:

 

 [2009-09-23 09:43 UTC] df at wwi dot dk
Description:
------------
I am working in a company where we used php://input to read json encoded data coming from an ajax call.
In IE and FF it works as it should.
But in Safari, php://input is not working. I dont know if any of the others dont

Reproduce code:
---------------
---
From manual page: function.file-get-contents
---
$input = file_get_contents('php://input',1000);

Expected result:
----------------
Data

Actual result:
--------------
Nothing at all

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-23 11:16 UTC] jani@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Aug 13 16:00:03 2025 UTC