[prev in list] [next in list] [prev in thread] [next in thread]
List: horde-dev
Subject: Re: [dev] Re: [cvs] cvs commit: horde css.php
From: Jan Schneider <jan () horde ! org>
Date: 2001-12-23 21:42:16
[Download RAW message or body]
Zitat von Michael Cochrane <mike@graftonhall.co.nz>:
> Still not perfect because $HTTP_SERVER_VARS['SCRIPT_NAME'] is not going
> to
> contain the name of the script if you are using the cgi version of php,
> as i am
> under win32.
> i have changed mine to
> $send_headers = strstr($HTTP_SERVER_VARS['PATH_TRANSLATED'],
> 'css.php');
> as this value appears to be consistant between cgi and apache versions
> from the
> phpinfo screens i can get access to.
Good hint. I think we should take $HTTP_SERVER_VARS['PHP_SELF']. This
should be defined in any yet so obscure php platform.
Jan.
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::
--
Horde Developers mailing list: http://horde.org/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic