[FX.php List] get_file_contents() fails on iis

Steve Winter steve at bluecrocodile.co.nz
Sun May 28 07:09:59 MDT 2006


Me again,
 
Never mind, I figured it out...! the issue related not to IIS but to a DNS
issue which was preventing the server talking to itself...
 
That's what you get at nearly 11 pm after working 12+ hours on a Sunday...
 
Cheers
Steve

  _____  

From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Steve Winter
Sent: Sunday, 28 May 2006 10:01 p.m.
To: 'FX.php Discussion List'
Subject: [FX.php List] get_file_contents() fails on iis


Hi everyone,
 
This is sort of off topic, as it doesn't exactly relate directly to
FX.php...
 
I'm trying to use the Ajax style code described at
http://www.phpit.net/article/ajax-php-without-xmlhttprequest/ which will
really help me with a solution I'm trying to develop at present... (which
does use FX.php extensively ;-)
 
I work in a PC environment (out of my control, don't go there ;-) which
means for FMSA I'm using IIS as the server. I've discovered rather
frustratingly that
    $data = @file_get_contents($url);
from the example above fails on my IIS server...
 
If I copy the exact same files onto an Apache server running on Win2k, then
they work fine...
 
I presume it's got something to do with IIS security or...?? I'm a bit of a
newbie when it comes to IIS...I'd never used it till upgrading to FMSA 8 and
essentially being forced to...till this project I've been using FM6U and
FX.php with Apache...
 
Any thoughts, suggestions or ideas gratefully accepted :-)
 
Cheers
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060528/98666ca8/attachment.html


More information about the FX.php_List mailing list