473,387 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Problem to access distant files - Windows blue screen of death

Hello,

On a Windows platform (XP SP2), using Wampserver 2.0, each time I try to
access a distant file with PHP:

$contents =
file_get_contents("http://www.google.fr/intl/fr_fr/images/logo.gif");
or copy("http://www.google.fr/intl/fr_fr/images/logo.gif", "logo.gif");
or any other function,

I get the blue screen of death and my computer restarts!

I tried to disable the firewall but it doesn't change anything.
The same code works without any problem on a linux platform.

Does someone have any idea of where it comes from?

Thanks,

Nicolas
Jun 2 '08 #1
1 1690
On Mon, 21 Apr 2008 06:10:33 +0200, Nicolas <ni*****@domain.invalidwrote:
Hello,

On a Windows platform (XP SP2), using Wampserver 2.0, each time I try to
access a distant file with PHP:

$contents =
file_get_contents("http://www.google.fr/intl/fr_fr/images/logo.gif");
or copy("http://www.google.fr/intl/fr_fr/images/logo.gif", "logo.gif");
or any other function,

I get the blue screen of death and my computer restarts!

I tried to disable the firewall but it doesn't change anything.
The same code works without any problem on a linux platform.

Does someone have any idea of where it comes from?
If your computer restarts, it's no simple PHP or Apache error. Something
is very wrong. Even if this is not permitted by the settings
(allow_url_fopen) it should just generate a recoverable error. Try to
reinstall Apache & PHP. If that still fails with window rebooting, I
suspect there's nothing else for it then to reinstall Windows...
--
Rik Wasmus
Jun 2 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: John Baker | last post by:
Hi: I have a table which is indexed on an auto number (supposedly unique for each record). For reasons I cannot explain, I have started to encounter a problem with duplicate auto numbers. The...
8
by: Sarah | last post by:
I need to access some data on a server. I can access it directly using UNC (i.e. \\ComputerName\ShareName\Path\FileName) or using a mapped network drive resource (S:\Path\FileName). Here is my...
5
by: Jerry Spence1 | last post by:
I have built a Setup file of my project and when I deploy it on another PC is crashes fairly quickly. I ran Dependancy Walker and found that it couldn't find the following files: MSCORPE.DLL...
0
by: =?Utf-8?B?bWV0YWxsaWNpdGU=?= | last post by:
I got this message when I was browsing the net. Generic Host Process for WIN32 Services has encountered a problem and needs to close. We are sorry for the inconvenience. I left it for about a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...

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.