Re: [PHP-WIN] Re: can't get fsockopen() to work through IIS

2008-10-23 Thread Evan Burkitt
Sascha Meyer wrote: there are three more things that you could check if you want to give IIS a second try: See my reply to Andi's post. Since the script works from the command line I had to assume that the problem wasn't with PHP itself, but rather the fact that it was being executed as IUS

Re: [PHP-WIN] Re: can't get fsockopen() to work through IIS

2008-10-23 Thread Evan Burkitt
Andi Gutmans wrote: OK but how about trying your login user? Ah. I finally figured out what you meant in your original reply: The user and password used for anonymous access to the Web site. I entered my own user name and password as the anonymous login in the Directory Security / Authentica

Re: RE: [PHP-WIN] Re: can't get fsockopen() to work through IIS

2008-10-22 Thread Sascha Meyer
Hi Evan, there are three more things that you could check if you want to give IIS a second try: 1.) how long does the script need to output the error? Could it be that the value for "default_socket_timeout" in php.ini is very low and the call to fsockopen() fails because the server doesn't res

RE: [PHP-WIN] Re: can't get fsockopen() to work through IIS

2008-10-22 Thread Andi Gutmans
OK but how about trying your login user? Andi > -Original Message- > From: Evan Burkitt [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2008 7:52 PM > Cc: php-windows@lists.php.net > Subject: Re: [PHP-WIN] Re: can't get fsockopen() to work through IIS >

Re: [PHP-WIN] Re: can't get fsockopen() to work through IIS

2008-10-22 Thread Evan Burkitt
Andi Gutmans wrote: This is almost surely a permissions problem. By default IIS will run as a very low privileged user. I suggest in the IIS configuration you try and run the vhost as your login user on the Windows machine and see what happens. I can't figure out "vhost" is, but I tried running

RE: [PHP-WIN] Re: can't get fsockopen() to work through IIS

2008-10-17 Thread Andi Gutmans
nal Message- > From: Evan Burkitt [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2008 4:07 PM > To: php-windows@lists.php.net > Subject: [PHP-WIN] Re: can't get fsockopen() to work through IIS > > "Elizabeth M Smith" <[EMAIL PROTECTED]> wrote in message

[PHP-WIN] Re: can't get fsockopen() to work through IIS

2008-10-17 Thread Evan Burkitt
"Elizabeth M Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Take out the @ in front of fsockopen and see what the actual error is > would be the first step - it's generally a good idea to have E_ALL on > and all @ operators removed when trying to debug something > Thanks for

[PHP-WIN] Re: can't get fsockopen() to work through IIS

2008-10-17 Thread Elizabeth M Smith
Evan Burkitt wrote: > I have PHP 5.2.6 installed under Windows Server 2003 and IIS 6.0. I cannot > get fsockopen() to succeed when run through IIS. > I'm using this script: > $host = "localhost"; > $port = "110"; > ?> > > Attempting to open socket on host '' at port > '' > > $errno = 0; > $