473,698 Members | 2,220 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[function.fopen]: failed to open stream: HTTP request failed!

2 New Member
Hello
I am getting this error .Sometimes it works fine and sometimes not.
[function.fopen]: failed to open stream: HTTP request failed!
Mar 25 '08 #1
1 4193
ronverdonk
4,258 Recognized Expert Specialist
Welcome to The Scripts!

You give as little information as possible here! Without that I can only say that the file you try to open does not exist in the path specified.

In order to help you must give some more information, like:

What are you opening? A local file, a remote file using URL? Are you running with enabled safe_dir? Are you sure you have the correct path specified right?

Show the code statements you use to open that resource. And show any code within the appropriate code tags!

Ronald
Mar 25 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

11
4845
by: Tesla | last post by:
hey guys, i use Fopen to get the contents from a web page, but I get this error... Warning: fopen(http://seb.sleepbot.com:8000/played.html): failed to open stream: HTTP request failed! ICY 400 Server Full I am confused as to why I would get this error, because going to the website manually, it's just fine!! The site isn't even full or anything. Is there a workaround? Thanks
3
3690
by: Ming | last post by:
When I use fopen on the URL: fopen("http://home.pchome.com.tw/world/qoo4ko/110.jpg";, "r") I would get the following error message: -----------Error Message------------ Warning: fopen(): Circular redirect, aborting. Warning: fopen(http://home.pchome.com.tw/world/qoo4ko/110.jpg): failed to open stream: Permission denied ------------------------------------
2
4054
by: Loopy | last post by:
I'm trying to write a script that will connect to an external site so that I can get access referer information in a database on another one of my sites. I got errors, so I tried to write a script that will test the three main forms of connecting externally: fsockopen, fopen and file. I wrote a simple script that connects to my own domain (http://www.kigurumi.co.uk) and to another external domain (http://www.yahoo.co.uk), I do nothing...
4
2874
by: lucyachammond | last post by:
I have a 3rd party real-estate website written in php. I would like to call an asp script on a separate webserver each time a new real-estate item is added to the database on the php site. The asp script updates a sql server database for another site and once the page has been called, I do not need any return information from it. I have searched the groups but cannot find a definitive way of making the call to the asp script - I am a...
6
14615
by: Frieder Bürzele | last post by:
Hi, Im trying to integrate a rss feed into my page but struggle to fetch the dynamic generation of the rss feed If I type this into the browser as a result the xml file is shown as expected http://svnweb.tuxfamily.org/rss.php?repname=proaudio+%28ckpp%29&path=%2F&rev=0&sc=0&isdir=1 If I use it with a php-script which opens the url with fopen etc.
0
1663
by: milan.topalov | last post by:
I'm having some strange problems using fopen() to fetch website content. It seems I can't open URL shorter then certain lenght. I can open this: http://groups.google.co.uk/groups/dir?lnk=od&h=en&sel=&x=sssssxsssq But if I delete a character from the end, fopen() failes after 20 sec and returns strange error:
5
15585
by: Brian | last post by:
Hi I have a problem in opening url using 'file'. I searched many other discussion groups and tried suggestions, but could not resolve this problem. e.g <?php $myfile = file('http://google.com'); foreach ( $myfile as $vals){
3
22044
by: siyaverma | last post by:
i am trying to upload csv file from user's computer to main server the code i am using is if(((isset($_GET)) && ($_GET=="yes")) ) { $typefield = $_GET; echo "<form enctype=\"multipart/form-data\" action=\"$PHP_SELF\" method=\"POST\">
0
8608
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8898
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7734
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6524
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3051
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2006
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.