Re: [PHP] IIS, PHP and HTML

2010-06-23 Thread Ashley Sheridan
On Wed, 2010-06-23 at 16:26 -0600, Phillip Baker wrote:

 Greetings All,
 
 I am at a new Gig.
 So this is the existing setup so changing it at least in the short term is
 not an option.
 
 We are in an IIS shop.
 We have a bunch of files that are html, and in need of php functionality.
 And that would be a BUNCH of files.
 
 I am interested in setting if I can set up IIS to use the php interpreter on
 HTML files.
 And then just start using the html files as php.
 
 There are just so many html files I would prefer to not do 301 redirects,
 not header redirects and blot the server with empty files (nearly empty).
 My preference is to use the existing files.
 
 Is there a way to make this happen?
 Are there any pitfalls in making this happen that I will need to be aware
 of?
 
 Blessed Be
 
 Phillip


Yes, you just configure IIS to treat the .html extension the same as it
does .php.

Several things to note though. You can't control this on a site-by-site
basis as far as I remember, so if you set this, it's for the whole
server. Any plain html pages will be delivered more slowly.

Second, PHP code isn't inserted into HTML, rather it's the other way
around. This distinction is important when you are outputting content
other than HTML from PHP code, or when you are using the header()
function.

Although IIS wouldn't be my server of choice, I think the one thing you
may find lacking is Apaches .htaccess files. IIS can emulate most of the
behaviour of this with plugins though, but I believe they tend to cost.

Thanks,
Ash
http://www.ashleysheridan.co.uk




RE: [PHP] IIS, PHP and HTML

2010-06-23 Thread Tommy Pham
 -Original Message-
 From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
 Sent: Wednesday, June 23, 2010 4:47 PM
 To: Phillip Baker
 Cc: PHP General List
 Subject: Re: [PHP] IIS, PHP and HTML
 
 On Wed, 2010-06-23 at 16:26 -0600, Phillip Baker wrote:
 
  Greetings All,
 
  I am at a new Gig.
  So this is the existing setup so changing it at least in the short
  term is not an option.
 
  We are in an IIS shop.
  We have a bunch of files that are html, and in need of php
functionality.
  And that would be a BUNCH of files.
 
  I am interested in setting if I can set up IIS to use the php
  interpreter on HTML files.
  And then just start using the html files as php.
 
  There are just so many html files I would prefer to not do 301
  redirects, not header redirects and blot the server with empty files
(nearly
 empty).
  My preference is to use the existing files.
 
  Is there a way to make this happen?
  Are there any pitfalls in making this happen that I will need to be
  aware of?
 
  Blessed Be
 
  Phillip
 
 
 Yes, you just configure IIS to treat the .html extension the same as it
 does .php.
 
 Several things to note though. You can't control this on a site-by-site
basis as
 far as I remember, so if you set this, it's for the whole server. Any
plain html
 pages will be delivered more slowly.
 

Correction, IIS7.5 (Win08r2) and IIS7 (Win08) can set it at per
path/site/server depending on your needs.  Set it via 'handler mappings'
accordingly.  I don't remember IIS 6 and older since it's been a couple of
years I've dealt with IIS 6.

Regards,
Tommy

 Second, PHP code isn't inserted into HTML, rather it's the other way
around.
 This distinction is important when you are outputting content other than
 HTML from PHP code, or when you are using the header() function.
 
 Although IIS wouldn't be my server of choice, I think the one thing you
may
 find lacking is Apaches .htaccess files. IIS can emulate most of the
behaviour
 of this with plugins though, but I believe they tend to cost.
 
 Thanks,
 Ash
 http://www.ashleysheridan.co.uk
 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] IIS, PHP and HTML

2010-06-23 Thread Ashley Sheridan
On Wed, 2010-06-23 at 17:34 -0700, Tommy Pham wrote:

  -Original Message-
  From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
  Sent: Wednesday, June 23, 2010 4:47 PM
  To: Phillip Baker
  Cc: PHP General List
  Subject: Re: [PHP] IIS, PHP and HTML
  
  On Wed, 2010-06-23 at 16:26 -0600, Phillip Baker wrote:
  
   Greetings All,
  
   I am at a new Gig.
   So this is the existing setup so changing it at least in the short
   term is not an option.
  
   We are in an IIS shop.
   We have a bunch of files that are html, and in need of php
 functionality.
   And that would be a BUNCH of files.
  
   I am interested in setting if I can set up IIS to use the php
   interpreter on HTML files.
   And then just start using the html files as php.
  
   There are just so many html files I would prefer to not do 301
   redirects, not header redirects and blot the server with empty files
 (nearly
  empty).
   My preference is to use the existing files.
  
   Is there a way to make this happen?
   Are there any pitfalls in making this happen that I will need to be
   aware of?
  
   Blessed Be
  
   Phillip
  
  
  Yes, you just configure IIS to treat the .html extension the same as it
  does .php.
  
  Several things to note though. You can't control this on a site-by-site
 basis as
  far as I remember, so if you set this, it's for the whole server. Any
 plain html
  pages will be delivered more slowly.
  
 
 Correction, IIS7.5 (Win08r2) and IIS7 (Win08) can set it at per
 path/site/server depending on your needs.  Set it via 'handler mappings'
 accordingly.  I don't remember IIS 6 and older since it's been a couple of
 years I've dealt with IIS 6.
 
 Regards,
 Tommy
 
  Second, PHP code isn't inserted into HTML, rather it's the other way
 around.
  This distinction is important when you are outputting content other than
  HTML from PHP code, or when you are using the header() function.
  
  Although IIS wouldn't be my server of choice, I think the one thing you
 may
  find lacking is Apaches .htaccess files. IIS can emulate most of the
 behaviour
  of this with plugins though, but I believe they tend to cost.
  
  Thanks,
  Ash
  http://www.ashleysheridan.co.uk
  
 
 
 


Ah, that's good for Phillip then. I've not used IIS for over a year now,
and the version I used was very old (cheap company didn't see the need
to update anything, ever!)

Thanks,
Ash
http://www.ashleysheridan.co.uk




Re: [PHP] IIS 6 and php.ini not being friends

2007-10-10 Thread Stut

Philip Thompson wrote:

Hi. I have installed PHP ~ a dozen times on Windows and *nix systems, so I
don't consider myself to be a newbie at this. However, I've run into a
problem that I have run out of ideas. I have Google'd many sites and none of
the suggestions provided worked for me. Specs:

PHP 5.2.4 (Manual install)
Windows (virtual) Server 2k3
IIS 6, ISAPI

Ok, getting there... When I view phpinfo(), for the Configuration File (
php.ini) Path it shows C:\WINDOWS. However, I *know* that it's located in
the PHP install directory: C:\php. I've put C:\php in my Windows PATH
environment and I have even given Everyone full permissions on the .ini
file - still no go. Thinking maybe I screwed something up in my .ini file, I
tested both the recommended and dist .ini files with no changes - still no
go. Yes, I restarted IIS each time and verified permissions a lot.

Any suggestions for what might be happening? Why can't these just play
nicely together? Is it possible the .ini file PHP provided is corrupt so
it's falling back to the *default* .ini?


Move php.ini to C:\WINDOWS. If it were finding a php.ini to work with it 
would show the full path including the php.ini on the end. This 
location is compiled into the PHP binaries.


-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] IIS 6 and php.ini not being friends

2007-10-10 Thread Bastien Koert

why not try searching the c:/windows folder for a copy of the php.ini file? 
Maybe there is a straggler that needs to be deleted.
 
 
Bastien Date: Wed, 10 Oct 2007 17:24:54 +0100 From: [EMAIL PROTECTED] To: 
[EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] IIS 6 and 
php.ini not being friends  Philip Thompson wrote:  Hi. I have installed PHP 
~ a dozen times on Windows and *nix systems, so I  don't consider myself to 
be a newbie at this. However, I've run into a  problem that I have run out of 
ideas. I have Google'd many sites and none of  the suggestions provided 
worked for me. Specs:PHP 5.2.4 (Manual install)  Windows (virtual) 
Server 2k3  IIS 6, ISAPIOk, getting there... When I view phpinfo(), 
for the Configuration File (  php.ini) Path it shows C:\WINDOWS. However, I 
*know* that it's located in  the PHP install directory: C:\php. I've put 
C:\php in my Windows PATH  environment and I have even given Everyone full 
permissions on the .ini  file - still no go. Thinking maybe I screwed 
something up in my .ini file, I  tested both the recommended and dist .ini 
files with no changes - still no  go. Yes, I restarted IIS each time and 
verified permissions a lot.Any suggestions for what might be happening? 
Why can't these just play  nicely together? Is it possible the .ini file PHP 
provided is corrupt so  it's falling back to the *default* .ini?  Move 
php.ini to C:\WINDOWS. If it were finding a php.ini to work with it  would 
show the full path including the php.ini on the end. This  location is 
compiled into the PHP binaries.  -Stut  --  http://stut.net/  --  PHP 
General Mailing List (http://www.php.net/) To unsubscribe, visit: 
http://www.php.net/unsub.php 
_
Send a smile, make someone laugh, have some fun! Start now!
http://www.freemessengeremoticons.ca/?icid=EMENCA122

Re: [PHP] IIS 6 and php.ini not being friends

2007-10-10 Thread Philip Thompson
On 10/10/07, Bastien Koert [EMAIL PROTECTED] wrote:


 why not try searching the c:/windows folder for a copy of the php.inifile? 
 Maybe there is a straggler that needs to be deleted.



Bastien - That may be a possibility... except I just built the machine
yesterday, so I know php.ini is not in there. But since I had the same
thought as you, I checked the directory to verify that it was not in there -
it wasn't.

Stut - I temporarily moved the ini file to C:\WINDOWS and I got No input
file specified with a page that just called phpinfo(). Besides, I wanted to
reference the ini file in C:\php. So, what I did was create a new
Environment variable called PHPRC and gave it a value of C:\php (I followed
this article: http://www.iisadmin.co.uk/?p=4). I removed the ini from
C:\WINDOWS (of course) and then it finally began reading my ini file.

There are some weird things happening still. I have a file named
phpinfo.phpwith the contents:

?php phpinfo(); ?

When I call this file, it says No input file specified. If I rename the
file hi.php and then call it, it works just fine and spits out all the
appropriate info. So, anybody heard of that happening before? I'm going to
investigate migrating to Apache b/c I think IIS is playing mean games with
me. Thoughts?

Thanks,
~Philip



Philip Thompson wrote:
 Hi. I have installed PHP ~ a dozen times on Windows and *nix systems, so I
 don't consider myself to be a newbie at this. However, I've run into a
 problem that I have run out of ideas. I have Google'd many sites and none
of
 the suggestions provided worked for me. Specs:

 PHP 5.2.4 (Manual install)
 Windows (virtual) Server 2k3
 IIS 6, ISAPI

 Ok, getting there... When I view phpinfo(), for the Configuration File (
 php.ini) Path it shows C:\WINDOWS. However, I *know* that it's located in
 the PHP install directory: C:\php. I've put C:\php in my Windows PATH
 environment and I have even given Everyone full permissions on the .ini
 file - still no go. Thinking maybe I screwed something up in my .ini file,
I
 tested both the recommended and dist .ini files with no changes - still no
 go. Yes, I restarted IIS each time and verified permissions a lot.

 Any suggestions for what might be happening? Why can't these just play
 nicely together? Is it possible the .ini file PHP provided is corrupt so
 it's falling back to the *default* .ini?

Move php.ini to C:\WINDOWS. If it were finding a php.ini to work with it
would show the full path including the php.ini on the end. This
location is compiled into the PHP binaries.

-Stut


Re: [PHP] IIS Rewrite or Mod_Rewrite

2006-10-31 Thread Kevin

Jochem Maas wrote:

Kevin wrote:
  

Hi,

I have created a website which is using the iis rewrite module to write
the following:

index.php?tn_id=5ln_id=4 to something like

/contact/directions.html and this works fine

however I have a link at the bottom which needs to pass another variable
through the query string before it would simply be:

index.php?tn_id=5ln_id=4ts=75

however if i run

/contact/directions.html?ts=75 it doesn't work and comes up with a 404
page not found error.

Is there anyway around this?



yes Apache, are you allowed/able to use apache?

  

Thanks

Kevin



no only allowed to use windows server

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] IIS Rewrite or Mod_Rewrite

2006-10-31 Thread Jochem Maas
Kevin wrote:
 Hi,
 
 I have created a website which is using the iis rewrite module to write
 the following:
 
 index.php?tn_id=5ln_id=4 to something like
 
 /contact/directions.html and this works fine
 
 however I have a link at the bottom which needs to pass another variable
 through the query string before it would simply be:
 
 index.php?tn_id=5ln_id=4ts=75
 
 however if i run
 
 /contact/directions.html?ts=75 it doesn't work and comes up with a 404
 page not found error.
 
 Is there anyway around this?

yes Apache, are you allowed/able to use apache?

 
 Thanks
 
 Kevin
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] [ACIDIC HUMOR] Re: [PHP] IIS Rewrite or Mod_Rewrite

2006-10-31 Thread Stut

Jochem Maas wrote:

Kevin wrote:
  

Jochem Maas wrote:

yes Apache, are you allowed/able to use apache?
  

no only allowed to use windows server



ah and I see your company lives off ill-managed/spent NHS-pork - i.e. the latest
bullshit multi-billion pound NHS IT overhaul with a zero net gain in efficiency 
or insight
for end users (you know, nurses, doctors, people actually practice medicine) but
plenty of new managerial posts to supervise all the fantastic (read: over 
budget and
behind schedule) new IT projects.

governments should run their core IT infrastructures on proprietary, buggy (and 
overly
expensive) software (especially not when said enterprise has been found guilt of
anti-trust violations in multiple regions)

given that I know kust enough about IIS to stay away from it I can only
recommend that you get yourself a better* job

* better as in less morally abhorent, rather better as in more money - although 
if
you can achieve both all the better for you :-)
  


Plus, being forced to use Windows is not a reason not to use Apache!!

-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] [ACIDIC HUMOR] Re: [PHP] IIS Rewrite or Mod_Rewrite

2006-10-31 Thread Jochem Maas
Kevin wrote:
 Jochem Maas wrote:
 Kevin wrote:
  
 Hi,

 I have created a website which is using the iis rewrite module to write
 the following:

 index.php?tn_id=5ln_id=4 to something like

 /contact/directions.html and this works fine

 however I have a link at the bottom which needs to pass another variable
 through the query string before it would simply be:

 index.php?tn_id=5ln_id=4ts=75

 however if i run

 /contact/directions.html?ts=75 it doesn't work and comes up with a 404
 page not found error.

 Is there anyway around this?
 

 yes Apache, are you allowed/able to use apache?

  
 Thanks

 Kevin

 
 no only allowed to use windows server

ah and I see your company lives off ill-managed/spent NHS-pork - i.e. the latest
bullshit multi-billion pound NHS IT overhaul with a zero net gain in efficiency 
or insight
for end users (you know, nurses, doctors, people actually practice medicine) but
plenty of new managerial posts to supervise all the fantastic (read: over 
budget and
behind schedule) new IT projects.

governments should run their core IT infrastructures on proprietary, buggy (and 
overly
expensive) software (especially not when said enterprise has been found guilt of
anti-trust violations in multiple regions)

given that I know kust enough about IIS to stay away from it I can only
recommend that you get yourself a better* job

* better as in less morally abhorent, rather better as in more money - although 
if
you can achieve both all the better for you :-)

 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] IIS/PWS 5 Help

2005-09-28 Thread David Tulloh

You have to view the file through the IIS server, not directly.  So once
you have IIS configured to work with PHP you can access it by typing
http://127.0.0.1/filename in your browser.

Opening the file directly means that it doesn't get passed through the
IIS server and never gets parsed by PHP.


David

amafind wrote:


Morning,
I'm missing something...
I've done everything and can't get PHP to run on IIS/PWS 5 on Windows 2000.
If I double click on the PHP file, then the browser opens and displays my
PHP script without interpreting it. What am I missing?

Also, trying to find the correct place/person to ask this question has
eluded me. I click on links and end up going round in circles, always back
at the same page :o(

Regards,
Alf Wallis
[EMAIL PROTECTED]
www.amafind.co.za
083 679 4093
011 973 3589

 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] IIS/PWS 5 Help

2005-09-28 Thread Jay Blanchard
[snip]
I've done everything and can't get PHP to run on IIS/PWS 5 on Windows 2000.
If I double click on the PHP file, then the browser opens and displays my
PHP script without interpreting it. What am I missing?
[/snip]

Did you follow the instructions here...
http://us3.php.net/manual/en/install.windows.manual.php ?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] IIS E-Mail SOLVED

2005-09-27 Thread Jay Blanchard
[snip]
[snip]
Okie dokie, I am losing it I am surebut that's not important now.

I finally configured the IIS Virtual SMTP server as my MTA. No errors are
being thrown, but no mail is being sent either. Well, it may being sent, but
it is not arriving at its destination. Can someone clue me into some things
to check with the IIS Vistrual SMTP Server as MTA for PHP? Any help would be
greatly appreciated.
[/snip]

Furthermore, I just found the e-mail messages sitting in the Queue for IIS
c:\Inetpub\mailroot\Queue
[/snip]


I just wanted to bring this back up as it is the start of a new week. TIA!
[/snip]

Well, it turns out that the solution is pretty simple once you figure out
how to configure the virtual SMTP server as a relay. (I didn't try other
MTA's, so there may be something easier and more robust out there.) The
basic steps are this;

All on my development box, Win2K, IIS 5.0, PHP 4.4.n, MS-SQL Server;

A. Configure the local Virtual SMTP Server to relay mail only from 127.0.0.1
. This prevents others from attempting to use the server as a spam relay.
Since PHP will be sending the e-mail for various applications all of the
e-mail will be coming from the localhost.

2. Set the outbound relay to be your network mail server by providing the IP
address of your network mail server to the virtual SMTP server on the box
where PHP resides.

All done.

Unfortunately I was unable to find a comprehensive explanation of this
anywhere and arrived at the solution after I spoke at length with my network
administrator. He was also initially unsure of how to configure this but was
appreciative of the fact that I wanted to limit the initial relay from the
PHP box to local traffic only.

OAN; I did not expect that the transition from a *nix environment to a
Microsoft environment would provide the number and types of challenges that
it has. I do find that the PHP transition has not been difficult at all
though. There has to be some adjustment in the thought and planning due to
the differences in the environment, but PHP fairs well through it all.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] IIS E-Mail

2005-09-26 Thread Jay Blanchard
[snip]
[snip]
Okie dokie, I am losing it I am surebut that's not important now.

I finally configured the IIS Virtual SMTP server as my MTA. No errors are
being thrown, but no mail is being sent either. Well, it may being sent, but
it is not arriving at its destination. Can someone clue me into some things
to check with the IIS Vistrual SMTP Server as MTA for PHP? Any help would be
greatly appreciated.
[/snip]

Furthermore, I just found the e-mail messages sitting in the Queue for IIS
c:\Inetpub\mailroot\Queue
[/snip]


I just wanted to bring this back up as it is the start of a new week. TIA!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] IIS E-Mail

2005-09-22 Thread Jay Blanchard
[snip]
Okie dokie, I am losing it I am surebut that's not important now.

I finally configured the IIS Virtual SMTP server as my MTA. No errors are
being thrown, but no mail is being sent either. Well, it may being sent, but
it is not arriving at its destination. Can someone clue me into some things
to check with the IIS Vistrual SMTP Server as MTA for PHP? Any help would be
greatly appreciated.
[/snip]

Furthermore, I just found the e-mail messages sitting in the Queue for IIS
c:\Inetpub\mailroot\Queue

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] IIS 4 vulnerabilities

2004-09-15 Thread Greg Donald
On Wed, 15 Sep 2004 17:28:50 +0200, Angelo Zanetti [EMAIL PROTECTED] wrote:
 A client of mine is running PHP on a windows box (SErver) with IIS 4
 installed. I am definitely not a favourite of it being a windows box and
 secondly IIS version 4. I have heard many things about security breaches
 in IIS version 4. A question I want to ask you all is it still safe for
 the site to be hosted on this kind of platform and web server (IIS 4)
 even though the server might be patched and have all the security
 updates. OR should they upgrade their IIS version or just use Apache?
 maybe on a unix box?
 
 I know this might be slightly off topic, so Im not looking for message
 that are going to flame me rather just dont respond, and I would like to
 hear from those of you who can give me some useful input and maybe some
 past good and bad experiences with a similiar setup.

Just because the box is patched and up to date doesn't mean
non-publicized exploits don't exist.  Evil crackers sometimes sit on
exploits they discover until they find a target they wish to attack. 
This is true no matter the OS and web server software you use. 
Consider if your site is a valuable target or not and act accordingly.
 Review the logs, watch the traffic, be diligant with updates, etc.

I am a open source advocate and would never advise anyone to run any
software that's related to Microsoft in any way.  I run Windows behind
a firewall for a couple of games that aren't available otherwise. 
Other than that I find the Windows OS a very risky venture, especially
when it comes to server applications.  Microsoft has proven time and
time again they are fairly incapable of being secure.  That may change
in the future but this is now.


-- 
Greg Donald
http://gdconsultants.com/
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] IIS and PHP 4.2 on NT 4.0

2004-01-15 Thread John W. Holmes
Todd Cary wrote:
I am running PHP 4.0.6 on IIS and NT 4.  I cannot get PHP 4.2 to run. Is 
there something simple I am overlooking?
Yes.

http://www.bigredspark.com/questions-with-yes-or-no-answers.html

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals  www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] IIS and PHP 4.2 on NT 4.0

2004-01-15 Thread Kirk Babb
http://php.us.themoes.org/manual/en/install.iis.php

Skip down the page to IIS with WinNT, double check what you've done so far.

HTH,
Kirk

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] IIS Ports

2003-09-30 Thread Jas
Well what version of Windows are you running?  NT, 2K, XP etc.
Have you looked at what ports are open?  What services do you need to run?
Obviously IIS to serve up web pages, but what else is running? SMTP, FTP
etc?  Do you need those other services?  If not turn them off...

NT :: Administrative tools / services / locate service corresponding to port
you wish to close and set to 'disabled'
2K :: Control panel / Administrative tools / services / locate service and
set to 'disabled'
XP :: Control panel / Administrative tools / services / locate service and
set to 'disabled'
Linux :: edit the file name xinet.d, init.d, ftpd, httpd, etc to disable
from starting service

A list of port assignments can be found here.
http://www.iana.org/assignments/port-numbers

Information on securing your box can be found here.
http://www.securityfocus.com // recent exploits and tools to help secure
your box
http://www.nsa.gov/snac/index.html // for windows and linux

HTH
Jas

Stephen Craton [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm not sure where he tried to find the ports that were open but I'd guess
from his apartment in Lafayette.

We have a hardware firewall protecting the entire network. We're connected
with a cable line and I'm really clueless as to what to do. I run windows
update every day to make sure I'm not lagging behind.

So far I have no real enemies that want to hack me, but I'm bound to make
some eventually. I'll probably end up getting apache sometime or something.

Oh, and um, I would beat up my brother but he was in the military (he
dropped out because of the 5am 5 mile runs) and he's 5 years older then
me...

Thanks,
Stephen Craton
http://www.melchior.us -- http://www.melchior.us/portfolio


-Original Message-
From: Jeff McKeon [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 27, 2003 4:10 PM
To: Stephen Craton; [EMAIL PROTECTED]
Subject: RE: [PHP] IIS Ports

can't you just beat up your brother?  It won't fix your pc but it will
probably make you feel better. :o)

Chances are your bro is no genious and just using scripts (script kiddie)
that other people write for known exploits.  If this is the case, then you
probably haven't been keeping up with your MS updates.

What connection did he get to your pc/server though?  was he inside the
network or coming in from the internet.  If he came in from the internet,
what kind of connection are you running (cable, DSL etc)?  Do you have a
hardware firewall between the internet and your network?  If not, you
should.  I make all my friend's/family who have cable/DSL modems spend the
money and install them.  Very often they've asked me to install them and
just for gigles I turn on logging.  Usually I see port scans within 10
minutes of the firewall coming up on the cable/DSL modem.  Pretty scary.
Whether your running MS or Linux, you should check for patches and updates
EVERY DAY for all your systems and especially those acting as servers of any
kind.

There are also plenty of books on hacking that you can read to familarize
yourself with the techniques of hacking.  This will help you understand
what's going on and better equip your network to deal with it.  There are
also many books on box hardening AKA firewalling.  If your going to runs
servers available on the internet, I suggest you read up on these things.

good luck.

-Original Message- 
From: Stephen Craton [mailto:[EMAIL PROTECTED]
Sent: Sat 9/27/2003 4:31 PM
To: PHP List
Cc:
Subject: [PHP] IIS Ports



This is kind of off topic but kind of not, it's your call. My
brother came
home this weekend from college this weekend acting all cool since he
has
been learning to hack. He was telling us (the family) how he did
random port
penetration on the home network and he said my computer was the most
vulnerable with around 25 ports open. I didn't really care until
about an
hour later he hacked into my computer and then reset it causing me
to loose
all my important information. I told my dad and my brother promptly
lied
about anything of the sort.



What I want to know.since I know the majority of my ports open are
from
IIS.is how I can close these. I only need my local server accessible
by just
my computer but the entire network too.just not the network.



I thought the ports would just be open on my computer and not the
hardware
firewall and everything. I went ahead and turned on the Windows XP
firewall
but I've heard it really sucks. So is there any way of closing the
IIS ports
so my brother, and any other hacker, can't get in here and cause
havoc?



Thanks,

Stephen Craton

http://www.melchior.us -- http://www.melchior.us/portfolio

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] IIS Ports

2003-09-28 Thread Burhan Khalid
Jon Kriek wrote:
The point is get a good firewall, doesn't matter which one.

Personally I prefer Sygate Personal Firewall PRO
http://smb.sygate.com/products/pspf/pspf_ov.htm
Enabling ICF will probably help.



--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] IIS Ports

2003-09-27 Thread Robert Cummings
The short answer (and a good way to start a flamewar ;) install linux :)

Cheers,
Rob.


On Sat, 2003-09-27 at 16:31, Stephen Craton wrote:
 This is kind of off topic but kind of not, it's your call. My brother came
 home this weekend from college this weekend acting all cool since he has
 been learning to hack. He was telling us (the family) how he did random port
 penetration on the home network and he said my computer was the most
 vulnerable with around 25 ports open. I didn't really care until about an
 hour later he hacked into my computer and then reset it causing me to loose
 all my important information. I told my dad and my brother promptly lied
 about anything of the sort.
 
  
 
 What I want to know.since I know the majority of my ports open are from
 IIS.is how I can close these. I only need my local server accessible by just
 my computer but the entire network too.just not the network.
 
  
 
 I thought the ports would just be open on my computer and not the hardware
 firewall and everything. I went ahead and turned on the Windows XP firewall
 but I've heard it really sucks. So is there any way of closing the IIS ports
 so my brother, and any other hacker, can't get in here and cause havoc?
 
  
 
 Thanks,
 
 Stephen Craton
 
 http://www.melchior.us -- http://www.melchior.us/portfolio
 
  
 
  
 
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] IIS Ports

2003-09-27 Thread Mike Brum
Well, any service that listens for external access requires certain ports to
be open. Basic web traffic is listened for on port 80 for example. If you
get a personal (software) firewall application (ZoneAlarm for example), then
you can block access to these ports. I'm not sure how well the XP firewall
software works, but I'm assuming that if it's just bundled with MS then it's
not great but functional. 

Also realize that IIS is a big security hole to begin with (as well as most
Windows-default servers. Make sure your OS is fully patched  updated and
also remember to disable any servers that you're not using.

If you're extremely paranoid, you can always get a hardware firewall to put
between your machine and the rest of the network - though a software
firewall should suit your needs.

I hope this answers your questions, though you've already taken the first
major step by having some sort of firewall in place.

-M

-Original Message-
From: Stephen Craton [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 27, 2003 4:31 PM
To: PHP List
Subject: [PHP] IIS Ports


This is kind of off topic but kind of not, it's your call. My brother came
home this weekend from college this weekend acting all cool since he has
been learning to hack. He was telling us (the family) how he did random port
penetration on the home network and he said my computer was the most
vulnerable with around 25 ports open. I didn't really care until about an
hour later he hacked into my computer and then reset it causing me to loose
all my important information. I told my dad and my brother promptly lied
about anything of the sort.
What I want to know.since I know the majority of my ports open are from
IIS.is how I can close these. I only need my local server accessible by just
my computer but the entire network too.just not the network.
I thought the ports would just be open on my computer and not the hardware
firewall and everything. I went ahead and turned on the Windows XP firewall
but I've heard it really sucks. So is there any way of closing the IIS ports
so my brother, and any other hacker, can't get in here and cause havoc?
Thanks,

Stephen Craton

http://www.melchior.us -- http://www.melchior.us/portfolio

 

 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] IIS Ports

2003-09-27 Thread Mike Brum
Yes and no - even with Linux you still need to know HOW to lock down the
machine and without doing so, there are still exploits that can be as, or
more, dangerous than some Windows exploits (take the SSH exploit recently
found that can give an intruder root access!).

Bottom line is that any OS has vulnerability if you don't have the know-how
to lock it down - it's not a Windows-specific problem. The Linux vs. Windows
issue is moot.

-M

-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 27, 2003 4:38 PM
To: Stephen Craton
Cc: PHP List
Subject: Re: [PHP] IIS Ports


The short answer (and a good way to start a flamewar ;) install linux :)

Cheers,
Rob.


On Sat, 2003-09-27 at 16:31, Stephen Craton wrote:
 This is kind of off topic but kind of not, it's your call. My brother 
 came home this weekend from college this weekend acting all cool since 
 he has been learning to hack. He was telling us (the family) how he 
 did random port penetration on the home network and he said my 
 computer was the most vulnerable with around 25 ports open. I didn't 
 really care until about an hour later he hacked into my computer and 
 then reset it causing me to loose all my important information. I told 
 my dad and my brother promptly lied about anything of the sort.
 
  
 
 What I want to know.since I know the majority of my ports open are 
 from IIS.is how I can close these. I only need my local server 
 accessible by just my computer but the entire network too.just not the 
 network.
 
  
 
 I thought the ports would just be open on my computer and not the 
 hardware firewall and everything. I went ahead and turned on the 
 Windows XP firewall but I've heard it really sucks. So is there any 
 way of closing the IIS ports so my brother, and any other hacker, 
 can't get in here and cause havoc?
 
  
 
 Thanks,
 
 Stephen Craton
 
 http://www.melchior.us -- http://www.melchior.us/portfolio
 
  
 
  
 
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  | a 
| powerful, scalable system for accessing system services  | such as 
| forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] IIS Ports

2003-09-27 Thread Jeff McKeon
can't you just beat up your brother?  It won't fix your pc but it will probably make 
you feel better. :o)
 
Chances are your bro is no genious and just using scripts (script kiddie) that other 
people write for known exploits.  If this is the case, then you probably haven't been 
keeping up with your MS updates. 
 
What connection did he get to your pc/server though?  was he inside the network or 
coming in from the internet.  If he came in from the internet, what kind of connection 
are you running (cable, DSL etc)?  Do you have a hardware firewall between the 
internet and your network?  If not, you should.  I make all my friend's/family who 
have cable/DSL modems spend the money and install them.  Very often they've asked me 
to install them and just for gigles I turn on logging.  Usually I see port scans 
within 10 minutes of the firewall coming up on the cable/DSL modem.  Pretty scary.  
Whether your running MS or Linux, you should check for patches and updates EVERY DAY 
for all your systems and especially those acting as servers of any kind.  
 
There are also plenty of books on hacking that you can read to familarize yourself 
with the techniques of hacking.  This will help you understand what's going on and 
better equip your network to deal with it.  There are also many books on box 
hardening AKA firewalling.  If your going to runs servers available on the internet, 
I suggest you read up on these things.
 
good luck.  

-Original Message- 
From: Stephen Craton [mailto:[EMAIL PROTECTED] 
Sent: Sat 9/27/2003 4:31 PM 
To: PHP List 
Cc: 
Subject: [PHP] IIS Ports



This is kind of off topic but kind of not, it's your call. My brother came
home this weekend from college this weekend acting all cool since he has
been learning to hack. He was telling us (the family) how he did random port
penetration on the home network and he said my computer was the most
vulnerable with around 25 ports open. I didn't really care until about an
hour later he hacked into my computer and then reset it causing me to loose
all my important information. I told my dad and my brother promptly lied
about anything of the sort.



What I want to know.since I know the majority of my ports open are from
IIS.is how I can close these. I only need my local server accessible by just
my computer but the entire network too.just not the network.



I thought the ports would just be open on my computer and not the hardware
firewall and everything. I went ahead and turned on the Windows XP firewall
but I've heard it really sucks. So is there any way of closing the IIS ports
so my brother, and any other hacker, can't get in here and cause havoc?



Thanks,

Stephen Craton

http://www.melchior.us -- http://www.melchior.us/portfolio









RE: [PHP] IIS Ports

2003-09-27 Thread Robert Cummings
On Sat, 2003-09-27 at 16:50, Mike Brum wrote:
 Yes and no - even with Linux you still need to know HOW to lock down the
 machine and without doing so, there are still exploits that can be as, or
 more, dangerous than some Windows exploits (take the SSH exploit recently
 found that can give an intruder root access!).
 
 Bottom line is that any OS has vulnerability if you don't have the know-how
 to lock it down - it's not a Windows-specific problem. The Linux vs. Windows
 issue is moot.

Oh I know all that :) I was just trolling. Also if his brother doesn't
know linux then he would suddenly be at a disadvantage since he wouldn't
know all the exploits, or even much of the way things work. But mostly,
I was trolling.

Cheers,
Rob.

 
 -M
 
 -Original Message-
 From: Robert Cummings [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, September 27, 2003 4:38 PM
 To: Stephen Craton
 Cc: PHP List
 Subject: Re: [PHP] IIS Ports
 
 
 The short answer (and a good way to start a flamewar ;) install linux :)
 
 Cheers,
 Rob.
 
 
 On Sat, 2003-09-27 at 16:31, Stephen Craton wrote:
  This is kind of off topic but kind of not, it's your call. My brother 
  came home this weekend from college this weekend acting all cool since 
  he has been learning to hack. He was telling us (the family) how he 
  did random port penetration on the home network and he said my 
  computer was the most vulnerable with around 25 ports open. I didn't 
  really care until about an hour later he hacked into my computer and 
  then reset it causing me to loose all my important information. I told 
  my dad and my brother promptly lied about anything of the sort.
  
   
  
  What I want to know.since I know the majority of my ports open are 
  from IIS.is how I can close these. I only need my local server 
  accessible by just my computer but the entire network too.just not the 
  network.
  
   
  
  I thought the ports would just be open on my computer and not the 
  hardware firewall and everything. I went ahead and turned on the 
  Windows XP firewall but I've heard it really sucks. So is there any 
  way of closing the IIS ports so my brother, and any other hacker, 
  can't get in here and cause havoc?
  
   
  
  Thanks,
  
  Stephen Craton
  
  http://www.melchior.us -- http://www.melchior.us/portfolio
  
   
  
   
  
 -- 
 ..
 | InterJinn Application Framework - http://www.interjinn.com |
 ::
 | An application and templating framework for PHP. Boasting  | a 
 | powerful, scalable system for accessing system services  | such as 
 | forms, properties, sessions, and caches. InterJinn |
 | also provides an extremely flexible architecture for   |
 | creating re-usable components quickly and easily.  |
 `'
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] IIS Ports

2003-09-27 Thread Jon Kriek
LMAO!

-- 
Jon Kriek
http://phpfreaks.com

Robert Cummings [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 But mostly, I was trolling.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] IIS Ports

2003-09-27 Thread Stephen Craton
I'm not sure where he tried to find the ports that were open but I'd guess
from his apartment in Lafayette.

We have a hardware firewall protecting the entire network. We're connected
with a cable line and I'm really clueless as to what to do. I run windows
update every day to make sure I'm not lagging behind.

So far I have no real enemies that want to hack me, but I'm bound to make
some eventually. I'll probably end up getting apache sometime or something.

Oh, and um, I would beat up my brother but he was in the military (he
dropped out because of the 5am 5 mile runs) and he's 5 years older then
me...
 
Thanks,
Stephen Craton
http://www.melchior.us -- http://www.melchior.us/portfolio
 

-Original Message-
From: Jeff McKeon [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 27, 2003 4:10 PM
To: Stephen Craton; [EMAIL PROTECTED]
Subject: RE: [PHP] IIS Ports

can't you just beat up your brother?  It won't fix your pc but it will
probably make you feel better. :o)
 
Chances are your bro is no genious and just using scripts (script kiddie)
that other people write for known exploits.  If this is the case, then you
probably haven't been keeping up with your MS updates. 
 
What connection did he get to your pc/server though?  was he inside the
network or coming in from the internet.  If he came in from the internet,
what kind of connection are you running (cable, DSL etc)?  Do you have a
hardware firewall between the internet and your network?  If not, you
should.  I make all my friend's/family who have cable/DSL modems spend the
money and install them.  Very often they've asked me to install them and
just for gigles I turn on logging.  Usually I see port scans within 10
minutes of the firewall coming up on the cable/DSL modem.  Pretty scary.
Whether your running MS or Linux, you should check for patches and updates
EVERY DAY for all your systems and especially those acting as servers of any
kind.  
 
There are also plenty of books on hacking that you can read to familarize
yourself with the techniques of hacking.  This will help you understand
what's going on and better equip your network to deal with it.  There are
also many books on box hardening AKA firewalling.  If your going to runs
servers available on the internet, I suggest you read up on these things.
 
good luck.  

-Original Message- 
From: Stephen Craton [mailto:[EMAIL PROTECTED] 
Sent: Sat 9/27/2003 4:31 PM 
To: PHP List 
Cc: 
Subject: [PHP] IIS Ports



This is kind of off topic but kind of not, it's your call. My
brother came
home this weekend from college this weekend acting all cool since he
has
been learning to hack. He was telling us (the family) how he did
random port
penetration on the home network and he said my computer was the most
vulnerable with around 25 ports open. I didn't really care until
about an
hour later he hacked into my computer and then reset it causing me
to loose
all my important information. I told my dad and my brother promptly
lied
about anything of the sort.



What I want to know.since I know the majority of my ports open are
from
IIS.is how I can close these. I only need my local server accessible
by just
my computer but the entire network too.just not the network.



I thought the ports would just be open on my computer and not the
hardware
firewall and everything. I went ahead and turned on the Windows XP
firewall
but I've heard it really sucks. So is there any way of closing the
IIS ports
so my brother, and any other hacker, can't get in here and cause
havoc?



Thanks,

Stephen Craton

http://www.melchior.us -- http://www.melchior.us/portfolio







--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] IIS Ports

2003-09-27 Thread Jason Sheets
Install ZoneAlarm,  and configure your web server to listen to IP 
127.0.0.1. If you aren't using ASP and you are using PHP you might 
consider installing Apache for Windows.  If your brother is attempting 
to exploit you from your LAN set the LAN trust level in Zone Alarm lower 
so that it is the same as the Internet trust level.  Also make sure you 
have all critical updates installed for Windows.



Stephen Craton wrote:

This is kind of off topic but kind of not, it's your call. My brother came
home this weekend from college this weekend acting all cool since he has
been learning to hack. He was telling us (the family) how he did random port
penetration on the home network and he said my computer was the most
vulnerable with around 25 ports open. I didn't really care until about an
hour later he hacked into my computer and then reset it causing me to loose
all my important information. I told my dad and my brother promptly lied
about anything of the sort.


What I want to know.since I know the majority of my ports open are from
IIS.is how I can close these. I only need my local server accessible by just
my computer but the entire network too.just not the network.


I thought the ports would just be open on my computer and not the hardware
firewall and everything. I went ahead and turned on the Windows XP firewall
but I've heard it really sucks. So is there any way of closing the IIS ports
so my brother, and any other hacker, can't get in here and cause havoc?


Thanks,

Stephen Craton

http://www.melchior.us -- http://www.melchior.us/portfolio





 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] IIS Ports

2003-09-27 Thread Jon Kriek
The point is get a good firewall, doesn't matter which one.

Personally I prefer Sygate Personal Firewall PRO
http://smb.sygate.com/products/pspf/pspf_ov.htm

--
Jon Kriek
http://phpfreaks.com

Jason Sheets [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Install ZoneAlarm,  and configure your web server to listen to IP
 127.0.0.1. If you aren't using ASP and you are using PHP you might
 consider installing Apache for Windows.  If your brother is attempting
 to exploit you from your LAN set the LAN trust level in Zone Alarm lower
 so that it is the same as the Internet trust level.  Also make sure you
 have all critical updates installed for Windows.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] - IIS - More info

2003-03-19 Thread Beauford.2002
After many grueling hours of screwing around with this, it's working. Not
sure of the exact problem - but for those that want to knowI uninstalled
PHP and cleaned the registry of any remnents of PHP and then installed PHP
manually (instead of using the PHP installer). Then I had to tweak the
php.ini file to set the global variables and session data directory and add
a few extensions etc. A few things also had to be changed in the IIS
settings so it would recognize the php extension and a couple of other
things. After that IIS was restarted and voila - these scripts now work. So
it appears the problem was a combination of php and the way it was
installed, and a few settings in IIS that weren't there. I guess  the PHP
installer doesn't do these things automatically.

Thanks to all those that replied, as some of your answers eventually lead to
me reinstalling PHP. If I was snarky to anyone, I also apologize as this was
out of frustration.

B.

- Original Message -
From: Diego Fulgueira [EMAIL PROTECTED]
To: PHP Windows [EMAIL PROTECTED]; PHP General
[EMAIL PROTECTED]; Beauford.2002 [EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 2:22 PM
Subject: [PHP] - IIS - More info


 Did you checked my last message? Was it helpful?
 PHP under Apache exposes diferent global variables than PHP under IIS. It
 will be impossible for you to correct your errors without changing your
 code. Run phpinfo() to see what variables are available under IIS.

 About session variables...

 I suggest you use the $_SESSION array instead of $HTTP_SESSION_VARS.

 Also, check your session_path (defined in php.ini, which should be under
 /WINNT). session_path should point to a directory where user IUSR_MYHOST
has
 writing permissions. There, you should see a file created for each
session.
 Open this file in notepad and you should find names of session variables
and
 their values. If all this is correct, check what session cookies is
sending
 your browser to the server (Netscape is very suitable for doing this).
 PHPSESSID should be one of them, if not, you are not registering your
 session correctly.

 Cheers.



 - Original Message -
 From: Beauford.2002 [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; 'PHP General'
[EMAIL PROTECTED]
 Sent: Wednesday, March 19, 2003 12:44 PM
 Subject: Re: [PHP] PHP and IIS - More info


  Further note that it is not just this script, but many PHP scripts that
I
  run on IIS - they all work perfectly on Apache (on Windows and Linux)..
 
  - Original Message -
  From: John W. Holmes [EMAIL PROTECTED]
  To: 'Beauford.2002' [EMAIL PROTECTED]; 'PHP General'
  [EMAIL PROTECTED]
  Sent: Wednesday, March 19, 2003 12:21 PM
  Subject: RE: [PHP] PHP and IIS - More info
 
 
These are some of the errors I am getting
   
Notice: Undefined index: login in
C:\Inetpub\wwwroot\..\login\checklogin.php on line 74
   
and 75, and other similar errors.
   
Line 74 is: $login = $HTTP_SESSION_VARS['login'];
Line 75 is: $password = $HTTP_SESSION_VARS['password'];
   
Another one is: echo $HTTP_ENV_VARS[QUERY_STRING];
  
   There is no 'login' or 'password' index in the $HTTP_SESSION_VARS
array.
   How are you registering these variables? Try using the new method with
   $_SERVER.
  
   ---John W. Holmes...
  
   PHP Architect - A monthly magazine for PHP Professionals. Get your
copy
   today. http://www.phparch.com/
  
  
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
  
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] IIS

2003-02-13 Thread Jason Wong
On Thursday 13 February 2003 13:06, Joe Njeru wrote:

 I'm using IIS on win2k.

Well done.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
As a goatherd learns his trade by goat, so a writer learns his trade by wrote.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] iis 5.0 question

2003-01-29 Thread Jason Wong
On Thursday 30 January 2003 15:51, Dale wrote:
 I have a program called ImageMagick installed which allows me to resize
 pictures and do some other fun things. I am, however, unable to run any of
 the executables. I installed the software and it installed under program
 files. I then created a virtual dir under my website. When I try to run the
 executable from the php code, the executable doesn't seem to be working
 because I think the path being used is relative to my website not the hard
 drive.

If that's the case then use absolute paths.

 Here the code is:

 ?

 if ($add == true)

 {

 //UPLOAD THE FILES TO THE SERVER


 $fs_part = images2/;

 $group_name_fix = ereg_replace( , _, $file_name);

 $gi_httpd_part = $group_name_fix;

 $gi_local_file = $fs_part.$gi_httpd_part;


 copy($file, $gi_local_file);

 $th = /.$group_name_fix._thumb.jpg;

 $com = convert -geometry 110 x 110 $gi_local_file, ($fs_part.$th);

1) You may want to try the using the full path to the executable as well here.
2) Shouldn't geometry be something like 110x110 (no spaces)
3) What's the comma doing there?
4) Ditto the parantheses? Surely they're not part of the filename?

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
You can no more win a war than you can win an earthquake.
-- Jeannette Rankin
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] IIS Quit Working

2002-12-29 Thread Jason Wong
On Sunday 29 December 2002 09:14, Stephen wrote:
 Since I like new things and all, I decided to download and install PHP 4.3.
 Before, I had the latest (4.2.3) and IIS worked fine. But then, after
 uninstalling PHP and installing the new one, it just quit working. I go to
 http://localhost/ and nothing comes up except a This page cannot be
 displayed thing since I'm using IE. Any ideas why this is happening?

Turn on error reporting and log to file and examine it for any clues.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
You can tell how far we have to go, when FORTRAN is the language of
supercomputers.
-- Steven Feiner
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] IIS Quit Working

2002-12-29 Thread Stephen
Ok, I reinstalled IIS 5 and PHP 4.3 and it's working but the sessions
aren't.  I get this error:


Warning: session_start() [function.session-start]:
open(/tmp\sess_b400575a818f9bb0361b06dad912410c, O_RDWR) failed: No such
file or directory (2) in c:\inetpub\wwwroot\pcu\index.php on line 1

I haven't edited the php.ini file yet but I'm not sure what to set it to.
Right now it says this:

session.save_path = /tmp

What should it be for Windows XP Pro?


- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 29, 2002 3:16 AM
Subject: Re: [PHP] IIS Quit Working


: On Sunday 29 December 2002 09:14, Stephen wrote:
:  Since I like new things and all, I decided to download and install PHP
4.3.
:  Before, I had the latest (4.2.3) and IIS worked fine. But then, after
:  uninstalling PHP and installing the new one, it just quit working. I go
to
:  http://localhost/ and nothing comes up except a This page cannot be
:  displayed thing since I'm using IE. Any ideas why this is happening?
:
: Turn on error reporting and log to file and examine it for any clues.
:
: --
: Jason Wong - Gremlins Associates - www.gremlins.biz
: Open Source Software Systems Integrators
: * Web Design  Hosting * Internet  Intranet Applications Development *
:
: /*
: You can tell how far we have to go, when FORTRAN is the language of
: supercomputers.
: -- Steven Feiner
: */
:
:
: --
: PHP General Mailing List (http://www.php.net/)
: To unsubscribe, visit: http://www.php.net/unsub.php
:
:
:



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] IIS Quit Working

2002-12-29 Thread John W. Holmes
 Ok, I reinstalled IIS 5 and PHP 4.3 and it's working but the sessions
 aren't.  I get this error:
 
 
 Warning: session_start() [function.session-start]:
 open(/tmp\sess_b400575a818f9bb0361b06dad912410c, O_RDWR) failed: No
such
 file or directory (2) in c:\inetpub\wwwroot\pcu\index.php on line 1
 
 I haven't edited the php.ini file yet but I'm not sure what to set it
to.
 Right now it says this:
 
 session.save_path = /tmp
 
 What should it be for Windows XP Pro?

It can be any directory that IIS can write to. 

c:/php/sessions/ (if that folder exists)

works just fine. The IUSR_computername user on your computer must have
permission to write to that directory. 

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] IIS Quit Working

2002-12-29 Thread Stephen
I found on the official site that C:\WINDOWS\Temp works well too...


- Original Message - 
From: John W. Holmes [EMAIL PROTECTED]
To: 'Stephen' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, December 29, 2002 2:05 PM
Subject: RE: [PHP] IIS Quit Working


:  Ok, I reinstalled IIS 5 and PHP 4.3 and it's working but the sessions
:  aren't.  I get this error:
:  
:  
:  Warning: session_start() [function.session-start]:
:  open(/tmp\sess_b400575a818f9bb0361b06dad912410c, O_RDWR) failed: No
: such
:  file or directory (2) in c:\inetpub\wwwroot\pcu\index.php on line 1
:  
:  I haven't edited the php.ini file yet but I'm not sure what to set it
: to.
:  Right now it says this:
:  
:  session.save_path = /tmp
:  
:  What should it be for Windows XP Pro?
: 
: It can be any directory that IIS can write to. 
: 
: c:/php/sessions/ (if that folder exists)
: 
: works just fine. The IUSR_computername user on your computer must have
: permission to write to that directory. 
: 
: ---John W. Holmes...
: 
: PHP Architect - A monthly magazine for PHP Professionals. Get your copy
: today. http://www.phparch.com/
: 
: 
: 
: -- 
: PHP General Mailing List (http://www.php.net/)
: To unsubscribe, visit: http://www.php.net/unsub.php
: 
: 
: 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] IIS Quit Working

2002-12-29 Thread Michael J. Pawlowsky
Wherever you want them...  C:\windows\temp if you have that.

win??? does not have a /tmp directory link *nix boxes do, so just give it a valid 
directory to write to where you don;t mind having a bunch of session files.



session.save_path = /tmp

What should it be for Windows XP Pro?


- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 29, 2002 3:16 AM
Subject: Re: [PHP] IIS Quit Working


: On Sunday 29 December 2002 09:14, Stephen wrote:
:  Since I like new things and all, I decided to download and install PHP
4.3.
:  Before, I had the latest (4.2.3) and IIS worked fine. But then, after
:  uninstalling PHP and installing the new one, it just quit working. I go
to
:  http://localhost/ and nothing comes up except a This page cannot be
:  displayed thing since I'm using IE. Any ideas why this is happening?
:
: Turn on error reporting and log to file and examine it for any clues.
:
: --
: Jason Wong - Gremlins Associates - www.gremlins.biz
: Open Source Software Systems Integrators
: * Web Design  Hosting * Internet  Intranet Applications Development *
:
: /*
: You can tell how far we have to go, when FORTRAN is the language of
: supercomputers.
: -- Steven Feiner
: */
:
:
: --
: PHP General Mailing List (http://www.php.net/)
: To unsubscribe, visit: http://www.php.net/unsub.php
:
:
:



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] IIS 5

2002-12-02 Thread @ Edwin
Hello,

Chris Edwards [EMAIL PROTECTED] wrote:

 I'm getting You are not authorized to view this page when trying to run
 .php files.

You mean plain html files work fine?

 How do I fix this?  I'm running php isapi on iis 5 on w2k
 server.

How did you configure it?

Anyway, it sounds like a permission problem so try checking whether your
server (or the user running as the server) is allowed to read files and
traverse directories that you're trying to access.

Just some ideas,

- E


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] IIS 5 - ASP PHP dev enviorment

2002-10-06 Thread John W. Holmes

 I have done a little searching and haven't really had a good solid
answer
 for my question.
 
 I mainly use ASP for development (and will continue to), but I wanted
to
 dabble in a little PHP for my own curiosity. I am using IIS 5 on Win
XP
 Pro
 for my dev machine. I have a few ASP applications going and I am
looking
 for
 some questions as to what to expect to happen if I set up IIS 5 to
also
 run
 PHP. Am I putting my ASP projects in harms way, buy setting up IIS to
use
 ASP and PHP?
 
 Any help would be appreciated, links to information would be just
fine.

You can run both of them without problems. Since ASP is a default on
IIS, any IIS server set up to run PHP is running them both... I haven't
heard of any problems caused just by having the two running at once.

---John Holmes...



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] IIS 5 - ASP PHP dev enviorment

2002-10-06 Thread Sascha Cunz


 You can run both of them without problems. Since ASP is a default on
 IIS, any IIS server set up to run PHP is running them both... I haven't
 heard of any problems caused just by having the two running at once.

 ---John Holmes...

I got this configuration times ago... Works without any problems
I am still using one machine, which needs IIS and PHP. There is really no big 
deal about that.

Sascha

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] : IIS server doesn't recognize PHP pages

2001-12-04 Thread Phil Driscoll

Even if your code was duff, you wouldn't get the save as if IIS was correctly 
configured.

Get your ISP to check that for your site, IIS has a scriptmap for .php mapped 
onto php.exe. If he needs more detailed instructions, they are in the online 
php manual at www.php.net or in the install.txt file supplied with the 
windows distribution of php.

Cheers
-- 
Phil Driscoll

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] : IIS server doesn't recognize PHP pages

2001-12-04 Thread Emek TUZUN

So, the problem is config problem... Maybe you can try to change extension
from .php to .php3 or .php4 etc.

Then please inform us again...

Emek

Mweb [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 On Tuesday 04 December 2001 12:04, Emek TUZUN wrote:
  Hello,
 
  Unfortunately, your ISP doesn't support PHP. They should install PHP
Win32
  but I think they don't want to install PHP for only your customer's
  site

 Emek,

 I have a message in my mailbox from the sysadmin (CC'd to the customer)
 saying that they *DO* support PHP (otherwise I would not  have accepted
the
 job..)

 I am almost sure that the problem is simply that the guy is very expert
with
 NT/IIS/ASP/VBScript, and at a basic level on other topics, included this
one.
 So, it must be a config issue, but which one? What should I tell him?

 Unless, of course, there is something really screwed in my code, (but for
 Heaven's sake, I just put a phpinfo() statement, in there) or in the way I
 uploaded it, its permissions, whatever.

 Any suggestion is HIGLY appreciated!!

 mweb



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] : IIS server doesn't recognize PHP pages

2001-12-04 Thread Andrew Chase

I'm not at all familiar with IIS, but in Apache terms it sounds like a MIME
type problem; the server doesn't know what to do with .PHP files, so it
assumes they're something that should be sent as a download/attachment
instead of parsing with PHP and sending as HTML - I would imagine there
would be something in IIS' config analagous to the Apache AddHandler
configuration directive that lets you specify a local interpreter for .cgi,
.pl, .php, etc...

-Andy


 I am almost sure that the problem is simply that the guy is very
 expert with
 NT/IIS/ASP/VBScript, and at a basic level on other topics,
 included this one.
 So, it must be a config issue, but which one? What should I tell him?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS

2001-08-21 Thread Tyler Longren

IIS is the web server software that comes with WindowsNT/2000.

--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com



On Wed, 22 Aug 2001 19:22:16 +0430
nafiseh saberi [EMAIL PROTECTED] wrote:

 
 hi.
 what is IIS?
 
 thanks.
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS

2001-08-21 Thread B. van Ouwerkerk


hi.
what is IIS?

Micro$oft Internet Information Server. It's a webserver. IMHO a poor 
alternative for Apache.
If you want to know more about IIS take a look at the M$ website 
(www.microsoft.com/iis) should tell you everything you ever want to know.

Bye,



B.

WOW.. this sure looks like flamebait :-)
 /\
 \ /
ASCII Ribbon CampaignX Against HTML Mail and News
 / \ 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS

2001-08-21 Thread hassan el forkani

:))

Microsoft's web server (Internet Information Server)





At 16:52 22/08/01, nafiseh saberi wrote:

hi.
what is IIS?

thanks.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS instead of PWS!!! what else can i do..

2001-05-06 Thread Zak Greant

You may want to try Xitami (www.imatix.com) as a fast/free/open source
alternative to the Microsoft products.

--zak


- Original Message -
From: Thomas Edison Jr. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, May 06, 2001 12:52 AM
Subject: [PHP] IIS instead of PWS!!! what else can i do..


 i think i'm almost at the verge of giving up...somehow
 the PWS in my system is ruined forever...i'd done
 everything..and i mean *EVERYTHING*...but PHP just
 doesn't seem to be working with my PWS. In fact, even
 my ASP scripts are not working anymore on PWS. I've
 uninstalled  reinstalled PWS twice already. it's just
 **%^. anyways, i think i'm gonna be trying out the
 IIS option. Is IIS ok to work with PHP4? any problems?
 and is there anywhere on the Internet that i can get
 IIS 4 from?

 thankx all yah,
 T. Edison jr.


 =
 Rahul S. Johari (Director)
 **
 Abraxas Technologies Inc.
 Homepage : http://www.abraxastech.com
 Email : [EMAIL PROTECTED]
 Tel : 91-4546512/4522124
 ***

 __
 Do You Yahoo!?
 Yahoo! Auctions - buy the things you want at great prices
 http://auctions.yahoo.com/

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS instead of PWS!!! what else can i do..

2001-05-06 Thread Thomas Edison Jr.

The only reason why i'm opting for pws or IIS is
because i need to run ASP scripts on my PC too. I'm an
ASP engineer as well and it's my Second major. So i
need to work with ASP too. Does Xitami support ASP?
and if it doesn't, can u tell me any other web server
for the PC which will run ASP  PHP both. I do have
the Jrun Server installed cause i work with JSP too. I
actually need all 3 : PHP, ASP  JSP running on my PC.
I'm using JRun for JSP, Apache (now, before i was
using PWS) for PHP and i need something for ASP now
since my PWS is not working.

Regards,
T. Edison jr.


--- Zak Greant [EMAIL PROTECTED] wrote:
 You may want to try Xitami (www.imatix.com) as a
 fast/free/open source
 alternative to the Microsoft products.
 
 --zak
 
 
 - Original Message -
 From: Thomas Edison Jr. [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, May 06, 2001 12:52 AM
 Subject: [PHP] IIS instead of PWS!!! what else can i
 do..
 
 
  i think i'm almost at the verge of giving
 up...somehow
  the PWS in my system is ruined forever...i'd done
  everything..and i mean *EVERYTHING*...but PHP just
  doesn't seem to be working with my PWS. In fact,
 even
  my ASP scripts are not working anymore on PWS.
 I've
  uninstalled  reinstalled PWS twice already. it's
 just
  **%^. anyways, i think i'm gonna be trying out
 the
  IIS option. Is IIS ok to work with PHP4? any
 problems?
  and is there anywhere on the Internet that i can
 get
  IIS 4 from?
 
  thankx all yah,
  T. Edison jr.
 
 
  =
  Rahul S. Johari (Director)
  **
  Abraxas Technologies Inc.
  Homepage : http://www.abraxastech.com
  Email : [EMAIL PROTECTED]
  Tel : 91-4546512/4522124
  ***
 
  __
  Do You Yahoo!?
  Yahoo! Auctions - buy the things you want at great
 prices
  http://auctions.yahoo.com/
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  To contact the list administrators, e-mail:
 [EMAIL PROTECTED]
 
 


=
Rahul S. Johari (Director)
**
Abraxas Technologies Inc.
Homepage : http://www.abraxastech.com
Email : [EMAIL PROTECTED]
Tel : 91-4546512/4522124
***

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS instead of PWS!!! what else can i do..

2001-05-06 Thread Thomas Edison Jr.

Why not install all three servers (IIS/Apache/Jrun)

yeah, well i'm already doing that sir. only problem
is, since few days my PWS is not working. Fortunately,
just minutes ago i was able to fix it so that ASP is
running perfectly on PWS now. Only PHP is not. So
anyway, i guess i've dropped the idea of making PHP4
run on PWS since it is not going to (somehow). So now
i Am running PWS/Apache/Jrun on my PC and working with
ASP, PHP  JSP. no problem. 

that you do mention it, can u tell me if it's better
to use IIS or PWS? and where can i get IIS?

Cheers,
T. Edison jr.



=
Rahul S. Johari (Director)
**
Abraxas Technologies Inc.
Homepage : http://www.abraxastech.com
Email : [EMAIL PROTECTED]
Tel : 91-4546512/4522124
***

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS instead of PWS!!! what else can i do..

2001-05-06 Thread Zak Greant

IIRC, it can with some caveats - check the library at xitami.com

--zak

- Original Message - 
From: Thomas Edison Jr. [EMAIL PROTECTED]
To: Zak Greant [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, May 06, 2001 1:05 AM
Subject: Re: [PHP] IIS instead of PWS!!! what else can i do..


 The only reason why i'm opting for pws or IIS is
 because i need to run ASP scripts on my PC too. I'm an
 ASP engineer as well and it's my Second major. So i
 need to work with ASP too. Does Xitami support ASP?
 and if it doesn't, can u tell me any other web server
 for the PC which will run ASP  PHP both. I do have
 the Jrun Server installed cause i work with JSP too. I
 actually need all 3 : PHP, ASP  JSP running on my PC.
 I'm using JRun for JSP, Apache (now, before i was
 using PWS) for PHP and i need something for ASP now
 since my PWS is not working.
 
 Regards,
 T. Edison jr.
 
 
 --- Zak Greant [EMAIL PROTECTED] wrote:
  You may want to try Xitami (www.imatix.com) as a
  fast/free/open source
  alternative to the Microsoft products.
  
  --zak
  
  
  - Original Message -
  From: Thomas Edison Jr. [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Sunday, May 06, 2001 12:52 AM
  Subject: [PHP] IIS instead of PWS!!! what else can i
  do..
  
  
   i think i'm almost at the verge of giving
  up...somehow
   the PWS in my system is ruined forever...i'd done
   everything..and i mean *EVERYTHING*...but PHP just
   doesn't seem to be working with my PWS. In fact,
  even
   my ASP scripts are not working anymore on PWS.
  I've
   uninstalled  reinstalled PWS twice already. it's
  just
   **%^. anyways, i think i'm gonna be trying out
  the
   IIS option. Is IIS ok to work with PHP4? any
  problems?
   and is there anywhere on the Internet that i can
  get
   IIS 4 from?
  
   thankx all yah,
   T. Edison jr.
  
  
   =
   Rahul S. Johari (Director)
   **
   Abraxas Technologies Inc.
   Homepage : http://www.abraxastech.com
   Email : [EMAIL PROTECTED]
   Tel : 91-4546512/4522124
   ***
  
   __
   Do You Yahoo!?
   Yahoo! Auctions - buy the things you want at great
  prices
   http://auctions.yahoo.com/
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, e-mail:
  [EMAIL PROTECTED]
   For additional commands, e-mail:
  [EMAIL PROTECTED]
   To contact the list administrators, e-mail:
  [EMAIL PROTECTED]
  
  
 
 
 =
 Rahul S. Johari (Director)
 **
 Abraxas Technologies Inc.
 Homepage : http://www.abraxastech.com
 Email : [EMAIL PROTECTED]
 Tel : 91-4546512/4522124
 ***
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - buy the things you want at great prices
 http://auctions.yahoo.com/
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS instead of PWS!!! what else can i do..

2001-05-06 Thread Alexander Skwar

So sprach Thomas Edison Jr. am Sun, May 06, 2001 at 12:41:24AM -0700:
 that you do mention it, can u tell me if it's better
 to use IIS or PWS? and where can i get IIS?

IIS is *NOT* free!  Actually it's rather expensive - check your local
dealers, they most certainly will be happy to sell IIS to you.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 1 day 16 hours 22 minutes

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS instead of PWS!!! what else can i do..

2001-05-06 Thread MaD dUCK

also sprach Thomas Edison Jr. (on Sat, 05 May 2001 11:52:34PM -0700):
 i think i'm almost at the verge of giving up...somehow
 the PWS in my system is ruined forever...i'd done
 everything..and i mean *EVERYTHING*...but PHP just
 doesn't seem to be working with my PWS. In fact, even
 my ASP scripts are not working anymore on PWS. I've
 uninstalled  reinstalled PWS twice already. it's just
 **%^. anyways, i think i'm gonna be trying out the
 IIS option. Is IIS ok to work with PHP4? any problems?
 and is there anywhere on the Internet that i can get
 IIS 4 from?

if i were you, and i am serious about this, then i'd install apache on
your windoze system. it was the best move i ever made back then when i
was still using windoze.

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^.*|tr * mailto:; net@madduck
-- 
above all, we should not wish to divest
our existence of its rich ambiguity.
  -- nietzsche

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS instead of PWS!!! what else can i do..

2001-05-06 Thread Thomas Edison Jr.

Already Did sir! and am as happy as u would've been.
finally i can test http authentication 2. 

Cheers,
T. Edison jr.

We're out of our medicines and out of our minds...

--- MaD dUCK [EMAIL PROTECTED] wrote:
 also sprach Thomas Edison Jr. (on Sat, 05 May 2001
 11:52:34PM -0700):
  i think i'm almost at the verge of giving
 up...somehow
  the PWS in my system is ruined forever...i'd done
  everything..and i mean *EVERYTHING*...but PHP just
  doesn't seem to be working with my PWS. In fact,
 even
  my ASP scripts are not working anymore on PWS.
 I've
  uninstalled  reinstalled PWS twice already. it's
 just
  **%^. anyways, i think i'm gonna be trying out
 the
  IIS option. Is IIS ok to work with PHP4? any
 problems?
  and is there anywhere on the Internet that i can
 get
  IIS 4 from?
 
 if i were you, and i am serious about this, then i'd
 install apache on
 your windoze system. it was the best move i ever
 made back then when i
 was still using windoze.
 
 martin;  (greetings from the heart of
 the sun.)
   \ echo mailto: !#^.*|tr * mailto:;
 net@madduck
 -- 
 above all, we should not wish to divest
 our existence of its rich ambiguity.
 
  -- nietzsche
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 To contact the list administrators, e-mail:
 [EMAIL PROTECTED]
 


=
Rahul S. Johari (Director)
**
Abraxas Technologies Inc.
Homepage : http://www.abraxastech.com
Email : [EMAIL PROTECTED]
Tel : 91-4546512/4522124
***

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] IIS 5

2001-02-10 Thread James Moore

http://www.php.net/manual/en/install.iis.php
and
http://cvs.php.net/viewcvs.cgi/php4/win32/README.txt?rev=1.4content-type=te
xt/vnd.viewcvs-markup

James

 -Original Message-
 From: Christian Bjorklund [mailto:[EMAIL PROTECTED]]
 Sent: 10 February 2001 15:46
 To: [EMAIL PROTECTED]
 Subject: [PHP] IIS 5


 Hello I like to have some directions in how to install PHP on IIS 5

 Regards

 Christian.



 Krmagnom AB
 Christian Bjrklund
 Rdmansgatan 67
 113 60 Stockholm
 Tel: 08-320750
 Fax: 08-320751
 Mobil: 070-8880002



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS ISAPI

2001-02-03 Thread Chris Fry

Shane,

Had the same problem - move the dll into the php directory - doesn't seem to work in 
the sapi dir.

Also you need to set the root dir in php.ini

Chris

Shane McBride wrote:

 I have loaded PHP according to the install file but I can not see any .php file in a 
browser.

 When I look under the ISAPI properties in IIS is appears that the dll is not 
loading. It has a red arrow pointing down.

 Any ideas?

 shane

--
Chris Fry
Quillsoft Pty Ltd
Specialists in Secure Internet Services and E-Commerce Solutions
10 Gray Street
Kogarah
NSW  2217
Australia

Phone: +61 2 9553 1691
Fax: +61 2 9553 1692
Mobile: 0419 414 323
eMail: [EMAIL PROTECTED]
http://www.quillsoft.com.au

You can download our Public CA Certificate from:-
https://ca.secureanywhere.com/htdocs/cacert.crt

**

This information contains confidential information intended only for
the use of the authorised recipient.  If you are not an authorised
recipient of this e-mail, please contact Quillsoft Pty Ltd by return
e-mail.
In this case, you should not read, print, re-transmit, store or act
in reliance on this e-mail or any attachments, and should destroy all
copies of them.
This e-mail and any attachments may also contain copyright material
belonging to Quillsoft Pty Ltd.
The views expressed in this e-mail or attachments are the views of
the author and not the views of Quillsoft Pty Ltd.
You should only deal with the material contained in this e-mail if
you are authorised to do so.

This notice should not be removed.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


Re: [PHP] IIS ISAPI

2001-02-03 Thread Shane McBride

Yea I had to move the php4ts.dll dile to the winnt directory. Thanks.

Have you every tried to get authentication to work using PHP as isapi?

- Original Message -
From: "Chris Fry" [EMAIL PROTECTED]
To: "Shane McBride" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, February 03, 2001 11:24 PM
Subject: Re: [PHP] IIS  ISAPI


 Shane,

 Had the same problem - move the dll into the php directory - doesn't seem
to work in the sapi dir.

 Also you need to set the root dir in php.ini

 Chris

 Shane McBride wrote:

  I have loaded PHP according to the install file but I can not see any
.php file in a browser.
 
  When I look under the ISAPI properties in IIS is appears that the dll is
not loading. It has a red arrow pointing down.
 
  Any ideas?
 
  shane

 --
 Chris Fry
 Quillsoft Pty Ltd
 Specialists in Secure Internet Services and E-Commerce Solutions
 10 Gray Street
 Kogarah
 NSW  2217
 Australia

 Phone: +61 2 9553 1691
 Fax: +61 2 9553 1692
 Mobile: 0419 414 323
 eMail: [EMAIL PROTECTED]
 http://www.quillsoft.com.au

 You can download our Public CA Certificate from:-
 https://ca.secureanywhere.com/htdocs/cacert.crt

 **

 This information contains confidential information intended only for
 the use of the authorised recipient.  If you are not an authorised
 recipient of this e-mail, please contact Quillsoft Pty Ltd by return
 e-mail.
 In this case, you should not read, print, re-transmit, store or act
 in reliance on this e-mail or any attachments, and should destroy all
 copies of them.
 This e-mail and any attachments may also contain copyright material
 belonging to Quillsoft Pty Ltd.
 The views expressed in this e-mail or attachments are the views of
 the author and not the views of Quillsoft Pty Ltd.
 You should only deal with the material contained in this e-mail if
 you are authorised to do so.

 This notice should not be removed.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] IIS and PHP authorization

2001-01-30 Thread James Moore


 [snip]
 There is an ISAPI module.
 [snip]

 yes, which is more than unstable as I found... Using a good
 machine (2xXeon
 550, 512 MB, NT4/SP6a/IIS4) it constantly crashed being a filter, and
 crashed being used as MIME plugin latest at the 6th page access.

Yes unfortuanly on NT 4 and IIS 4 PHP ISAPI is reported as unstable, but, I
would say that PHP is getting *TOWARDS* production quality on IIS 5 and Win
2k. Just a few more querks to fix and then I think that once this is done it
would be usable under win 2k and IIS 5 as ISAPI.

James


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS and PHP authorization

2001-01-29 Thread Ernest E Vogelsinger

At 06:48 28.01.2001, Rasmus Lerdorf said:
[snip]
There is an ISAPI module.
[snip] 

yes, which is more than unstable as I found... Using a good machine (2xXeon
550, 512 MB, NT4/SP6a/IIS4) it constantly crashed being a filter, and
crashed being used as MIME plugin latest at the 6th page access.


 ...ebird

   O Ernest E. Vogelsinger
   (\)http://www.1-at-web.at/
^ ICQ#   13394035


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS and PHP authorization

2001-01-27 Thread Shane McBride

I thought PHP would only run as CGI on IIS? Right now I'm trying to config
Apache.

- Original Message -
From: "Rasmus Lerdorf" [EMAIL PROTECTED]
To: "Shane McBride" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, January 27, 2001 9:44 PM
Subject: Re: [PHP] IIS and PHP authorization


 If you are using the CGI version of PHP then this won't work.  You can't
 do HTTP auth from the CGI version.

 -Rasmus

 On Sun, 28 Jan 2001, Shane McBride wrote:

  I finally got PHP, MySQL and Win2k installed after a long hard battle
with a Promise Ultra/66 controller card. Now, PHP seems to work fine exceot
when I have a script that requires authorization, I never get the popup box
to input the login and password. Here's the script:
 
  ?
// Include the setup password file
require 'setup.inc';
 
// Check to see if $PHP_AUTH_USER already contains info
if (!isset($PHP_AUTH_USER)) {
  // If empty, send header causing dialog box to appear
   header('WWW-Authenticate: Basic realm="The Merchant Power Setup
Area"');
   header('HTTP/1.0 401 Unauthorized');
   echo 'Authorization Required!';
   exit;
} else if (isset($PHP_AUTH_USER)) {
   if (($PHP_AUTH_USER !=$SETUP_USER) || ($PHP_AUTH_PW !=$SETUP_PASS)) {
 header('WWW-Authenticate: Basic realm="The Merchant Power Setup
Area"');
 header('HTTP/1.0 401 Unauthorized');
 echo 'Authorization Required!';
 exit;
  }
   }
  ?
 
  Any ideas?
 
  TIA- Shane
 


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] IIS and PHP authorization

2001-01-27 Thread Rasmus Lerdorf

There is an ISAPI module.

On Sun, 28 Jan 2001, Shane McBride wrote:

 I thought PHP would only run as CGI on IIS? Right now I'm trying to config
 Apache.

 - Original Message -
 From: "Rasmus Lerdorf" [EMAIL PROTECTED]
 To: "Shane McBride" [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Saturday, January 27, 2001 9:44 PM
 Subject: Re: [PHP] IIS and PHP authorization


  If you are using the CGI version of PHP then this won't work.  You can't
  do HTTP auth from the CGI version.
 
  -Rasmus
 
  On Sun, 28 Jan 2001, Shane McBride wrote:
 
   I finally got PHP, MySQL and Win2k installed after a long hard battle
 with a Promise Ultra/66 controller card. Now, PHP seems to work fine exceot
 when I have a script that requires authorization, I never get the popup box
 to input the login and password. Here's the script:
  
   ?
 // Include the setup password file
 require 'setup.inc';
  
 // Check to see if $PHP_AUTH_USER already contains info
 if (!isset($PHP_AUTH_USER)) {
   // If empty, send header causing dialog box to appear
header('WWW-Authenticate: Basic realm="The Merchant Power Setup
 Area"');
header('HTTP/1.0 401 Unauthorized');
echo 'Authorization Required!';
exit;
 } else if (isset($PHP_AUTH_USER)) {
if (($PHP_AUTH_USER !=$SETUP_USER) || ($PHP_AUTH_PW !=$SETUP_PASS)) {
  header('WWW-Authenticate: Basic realm="The Merchant Power Setup
 Area"');
  header('HTTP/1.0 401 Unauthorized');
  echo 'Authorization Required!';
  exit;
   }
}
   ?
  
   Any ideas?
  
   TIA- Shane
  
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]