ID:               37894
 Comment by:       subathrap at sevenstrata dot com
 Reported By:      roclar at gmail dot com
 Status:           No Feedback
 Bug Type:         Filesystem function related
 Operating System: Solaris 10
 PHP Version:      4.4.2
 New Comment:

Doing to send an sms through third party url using file function then i
got the following error. Same code i have used in /var/www/html/sam.php
then i got the sms. I dont know why its not working when put into
projects folder. 

[Warning]
file(http://url.com?pcode=Test&acode=Test&mnumber=9894994999&message=Your
activation code is gUPaVy for the CI of 72087&amp;pin=test2934) [<a
href='function.file'>function.file</a>]: failed to open stream: HTTP
request failed! HTTP/1.0 501 Not Implemented (@line 396 in file
/var/www/html/CustomerManagement/protected/Common/MCICommon.php).

Please help me.


Previous Comments:
------------------------------------------------------------------------

[2006-07-30 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2006-07-22 12:19:24] sni...@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip



------------------------------------------------------------------------

[2006-06-23 16:12:57] roclar at gmail dot com

That last comment was retreived using wget from the command 
line on the server that hosts both the php script.  It is 
also the server where I am trying to pull the data from.  If 
I wget http://www.example.com directly, I get the data:

--12:10:28--  http://www.example.com/
           => `index.html'
Resolving www.example.com... 127.0.0.1
Connecting to www.example.com[127.0.0.1]:80... connected.
HTTP request sent, awaiting response... 200 OK

------------------------------------------------------------------------

[2006-06-23 15:30:29] tony2...@php.net

Again. Please try to connect to this web-server (aka example.com) using
a telnet or wget or something else from the server where the script is
located. I want you to do this because I suspect there is a firewall or
a proxy or some other reason which prevents you from connecting from one
server to another.
What you need to do: login to the server, run `telnet <example.com> 80`
(or wget example.com/some_page.html), make sure you're able to get the
data.

------------------------------------------------------------------------

[2006-06-23 15:20:01] roclar at gmail dot com

<br />
<b>Warning</b>:  main(http://www.example.com/) [<a 
href='function.main'>function.main</a>]: failed to open 
stream: HTTP request failed!  in <b>/path/to/script/
testit.php</b> on line <b>3</b><br />
<br />
<b>Warning</b>:  main() [<a 
href='function.include'>function.include</a>]: Failed 
opening 'http://www.example.com/' for inclusion 
(include_path='.:/usr/local/php/lib/php') in <b>/path/to/
script/testit.php</b> on line <b>3</b><br />

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/37894

-- 
Edit this bug report at http://bugs.php.net/?id=37894&edit=1

Reply via email to