php-windows Digest 26 Feb 2001 23:12:07 -0000 Issue 464

Topics (messages 5730 through 5733):

Re: Win95 PHP installation, but no file associations?
        5730 by: Piotr Pluciennik
        5731 by: Phil Driscoll

DIfference between ISAPI and CGI
        5732 by: Fabio

HTTP Header REFERER
        5733 by: Randall Barber

Administrivia:

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

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

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


Hi,

try this address, http://benoit.noss.free.fr/php/install-php.html
I've found there solution for NT, maybe it will work for W95. I've never
tried to run php on W95, so I'm not sure...

Greetings

Piotr


Jim Lum wrote:

> Hi,
>
> New here, and just trying to install PHP binaries from www.php.net (the
> smaller .ZIP one).
>
> I ran the install, and checked the .php, .phtml extensions, but after
> the install completes, the extensions and associations don't appear to
> 'be there'.
>
> This Win95 machine doesn't actually have a web server on it yet... I
> wanted to test some PHP pages 'standalone' using the PHP.EXE
> commandline.  Could this (no web server installed) be why the
> associations didn't get set up?
>
> If so, what do I need to set up for the .php extension as far as the
> 'open' action?
>
> Thanks,
> Jim
>
> --
> PHP Windows 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]

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





The reason the installer doesn't set associations for the php file
extensions is that 99% of users will already have those associations mapped
onto their favourite text editor. I would recommend that you do the same and
then when you want to execute a php file, make sure that php.exe is in your
path and then call it as follows:

php -q phpfilename

Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org






Hi all,
I installed some months ago a Win2K server with IIS5 and PHP4; I have some
crashes on IIS/PHP (I can't understand who fails) and I get "PHP encountered
an access violation .....".
This happens about 4/5 times a week; I read that this can be caused by the
ISAPI module that I installed and many of you suggest to install the CGI
instead.
But now the problem: when I set the PHP.EXE instead of PHP4ISAPI.DLL, I got
PHP working, but he doesn't find the MSSQL functions (like mssql_connect()),
when it was full working with ISAPI.
Is there some changes to make to php.ini file?
I repeat: with ISAPI it was working great (except, of cource, the random
hangs). I only changed the executable in the IIS management console.

Thanx to all.
Fabio





In apache, the variable:

HTTP_REFERER is automatically set.

I don't run apache, I tried to access the variable like this in a regular script:

<?php

echo "$http_referer";

?>

Other variations include:

$HTTP_REFERER

$HTTP_X_REFERER

$myVar = getenv("HTTP_REFERER");

I don't get that variable.  All the mail I found in the archives says:

$HTTP_REFERER

It is not working for me.  

Please tell me what I am missing here.  I thought that all values of an HTTP header 
were passed to PHP.  Does that not include a HTTP REQUEST header field REFERRER?

I run NT4.0 IIS.

Thanks in advance
RDB


Reply via email to