note 78521 added to function.fopen

From: Date: Tue, 16 Oct 2007 09:39:19 +0000
Subject: note 78521 added to function.fopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-131417@lists.php.net to get a copy of this message
i am deploying php in apache on linux platform. now when i use fopen, this warning occurs. Warning: fopen(http://trialhost:81/DOCUMENTUM//ss007-2007052634012.jpg) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 401 Access Denied in /usr/local/apache2/htdocs/stage/try.php on line 11 allow_url_fopen is turned on, i have tried doing setsebool httpd_can_network_connect=1 as well, i even tried using curl to get the image, but none of them worked... what else should i do? i can ping trialhost and i can see the image in the browser. but i cant access the image in php... pls help.. i have posted so many forums but none worked. ---- Server IP: 61.195.146.164 Probable Submitter: 202.33.162.245 ---- Manual Page -- http://www.php.net/manual/en/function.fopen.php Edit -- https://master.php.net/note/edit/78521 Del: integrated -- https://master.php.net/note/delete/78521/integrated Del: useless -- https://master.php.net/note/delete/78521/useless Del: bad code -- https://master.php.net/note/delete/78521/bad+code Del: spam -- https://master.php.net/note/delete/78521/spam Del: non-english -- https://master.php.net/note/delete/78521/non-english Del: in docs -- https://master.php.net/note/delete/78521/in+docs Del: other reasons-- https://master.php.net/note/delete/78521 Reject -- https://master.php.net/note/reject/78521 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131417) next »