473,657 Members | 2,801 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_conten ts("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 1701
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_conten ts("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_fope n) 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
2331
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 numbers went up to 250, and the suddenly the system started to try and generate numbers starting at 150. Because the auto numbers duplicated, the system now will accept NO new records!! Can someone tell me how to fix this, either by giving a new...
8
9743
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 problem: my vb.net program has problems with UNC. If the UNC server is restarted or goes off-line, my VB.net program crashes. The code for UNC access to the file is included below and is put in the tick event of a form timer control running every...
5
3640
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 MSCORSEC.DLL c:\windows\microsoft.net\framework\v1.1.4322\ADVAPI32.DLL c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\GDI32.DLL c:\windows\microsoft.net\framework\v1.1.4322\GDIPLUS.DLL
0
1696
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 minute and could do things normally then I clicked on "dont send" button. The computer then died. I tried restarting the computer but it got to the compaq screen at the beginning with the press F10 for Recovety etc etc it left that the the curser
0
8403
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8316
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,...
0
8833
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8509
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
7345
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
6174
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
4168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2735
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
2
1967
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.