php-windows Digest 4 Aug 2005 01:13:18 -0000 Issue 2748

Topics (messages 26256 through 26258):

Re: restrictions on file_get_contents()
        26256 by: Irvin Piraman

problem with PHP 5.0.4 isapi on Windows 2000 IIS6
        26257 by: Gordon Heydon

Re: can I use Apache v 2 with PHP?
        26258 by: Leo G. Divinagracia III

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Working it off on another webhost revealed the error: Temporary error in 
name resolution.
Apparently file_get_contents("http://www.offsiteserver.com";) didn't work but 

file_get_contents("http://XXX.XXX.XXX.XXX";) did.


On 8/3/05, Irvin Piraman <[EMAIL PROTECTED]> wrote:
> 
> 
> Hello!
> 
> I have a script that uses file_get_contents() to pull off an .html page on 
> two different remote servers.
> This was working perfectly before, but now file_get_contents() returns 
> false when pulling off the page
> from one of the sites, but successfully returns the contents from the 
> other site. But when I manually
> check if the page exists - it does.
> 
> Reading through the PHP Manual, I couldn't find any hints if a remote site 
> can explicitly deny the
> file_get_contents() request. Is this restriction possible? Any help 
> please.
> 
> Thanks in advance.
> 
> -- 
> Irvin
> http://netgarage.ne1.net 




-- 
Irvin
http://netgarage.ne1.net

--- End Message ---
--- Begin Message ---
Hi,

I have a problem where it seems that once PHP has completed the page
then not exiting. The subsequent request of the same page is then
throwing an error that it is trying to redeclare a function.

It seems like the PHP is still running of the last request with the old
page still in memory and then it is trying to process the new page and
getting name space issues.

Also I am then getting access violation errors and I the page seems to
be locked by another process. Then the only way to get around this is to
then restart IIS.

when the problem occurs I am getting no errors. I am at a loss on how to
diagnose this or even where I can go from here. Any help will be most
appreciated.

As I am not subscribed to the list please be sure to respond directly to
me as well as the list.

Thanks in advance.
Gordon.

--- End Message ---
--- Begin Message ---
Taksam wrote:



Now, my question is: can I use Apache version 2 with PHP? And, even if I can 
use it in my development environment... is it safe to use Apache 2+PHP in a 
production environment?


running apache 2 with php 4, not 5...

--
Leo G. Divinagracia III
[EMAIL PROTECTED]

--- End Message ---

Reply via email to