Re: PHP on Windows missing features



charles_weaver@xxxxxxxxxxxxxxxx wrote:
I have a PHP program on a Windows Server website and the following do
not work:

$HTTP_SERVER_VARS["PHP_SELF"], $_SERVER, $_SESSION

etc. etc.

Can someone explain me why?

Is there something I can tell my web host to set in the php.ini file to
fix this?

All of this has always worked for me on Unix.


It's probably because you're using IIS, not Apache. This can't be fixed in the php.ini file. This information is supplied by Apache.


Solution?  Get an Apache server.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: PHP on Windows missing features
    ... Is there something I can tell my web host to set in the php.ini file to ... The primary solution is to check the configuration of the server, and fix that first, and if that fails, then get the apache. ...
    (comp.lang.php)
  • Re: mail and displaying errors
    ... my question is - how do I make php print the real ... JDS Computer Training Corp. ... with typical limited access on a web host that is hosting my web page. ... They may not have an SMTP server set up on this box, they may restrict it's use to non-web apps, they might require a login - or any of a dozen other things. ...
    (comp.lang.php)
  • RE: bugtraq.c httpd apache ssl attack
    ... As for a quick fix, yes, this will keep away the worm, but not the hacker. ... One can easily tear apart the worm and create a 'remote shell' trough Apache ... >> The program attacks the following Linux distributions: ... >> Fernando Nunes ...
    (Bugtraq)
  • [ANNOUNCE] Apache 2.0.44 Released
    ... The Apache Software Foundation and The Apache HTTP Server Project are ... This version of Apache is principally a security and bug fix release. ... vulnerabilities affecting the Windows platform. ...
    (Bugtraq)
  • Re: Date Question
    ... I'm trying to understand this command, ... There is no "fix for 2009" - the whole expression needs to be reworked. ... Jerry Stuckle ... JDS Computer Training Corp. ...
    (comp.lang.php)