Dear All,
In PHP Manual, I found:
ini_engineengine boolean
This directive is really only useful in the Apache module version of PHP. It
is used by sites that would like to turn PHP parsing on and off on a
per-directory or per-virtual server basis. By putting engine off in the
approp
Hi,
Thanks for your answer, and of course I'm sure that windows/PHP4/DLL
can't
fork threads, so I use windows/PHP4/CGI mode to run my program, as I said,
it's work under PHP4.0.3 but PHP4.0.4 or later are not. You may try it !!
> probably it is the system(), passthru(), exec() Problem. Thes
Is register_globals=On in your php.ini
You could also try $HTTP_ENV_VARS["HTTP_REFERER"];
If not, do a and see what variables are set.
Ignatius
> -Original Message-
> From: Randall Barber [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 27 February 2001 10:47
> To: [EMAIL
You could try to create a listing of defined globals, something like
";
while (list($key, $value) = each($GLOBALS))
echo "$key => $value\n";
echo "";
?>
and look how your webserver defines the HTTP_REFERER variable.
Anyway, there are situations where NO referer variable is available. That's
This is what I get:
Warning: Undefined variable: HTTP_REFERER in c:\inetpub\wwwroot\drew.php on line 3
Warning: Undefined index: HTTP_REFERER in c:\inetpub\wwwroot\drew.php on line 3
HTTP_REFERER is , ,
It is not defined and I am seriously perturbed :). I want to use Linux so badly, but
I do
I think HTTP_REFERER works only for apache. To obtain values for HTTP
header vars without apache, you could use
HTTP_ENV_VARS["HTTP_REFERER"] as this is a php variable. Hope it
works right,
Gonzalo.
> In apache, the variable:
> HTTP_REFERER is automatically set.
> I don't run apache, I tried
Randall,
You're missing a proper web server...:-)
Seriously, $HTTP_REFERER and getenv("HTTP_REFERER") should work.
If not $GLOBALS["HTTP_REFERER"] should also work.
try this:
echo "HTTP_REFERER is $HTTP_REFERER, ".$GLOBALS["HTTP_REFERER"].",
".getenv("HTTP_REFERER");
and see whi
php-windows Digest 26 Feb 2001 23:12:07 - 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
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:
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 ar
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 m
10 matches
Mail list logo