Bug #12310 Updated: $SCRIPT_FILENAME
| From: | cynic@php.net | Date: | Mon, 23 Jul 2001 00:30:59 +0000 |
| Subject: | Bug #12310 Updated: $SCRIPT_FILENAME | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-60713@lists.php.net to get a copy of this message | ||
ID: 12310
Updated by: cynic
Reported By: michael@frifra.de
Status: Bogus
Bug Type: Variables related
Operating System: WinNT IIS
PHP Version: 4.0.6
New Comment:
One last remark before I definitely leave this PR:
Michael, you might also want to subscribe to php-general@,
that can be done by sending an empty email to php-general-subscribe@lists.php.net
Previous Comments:
------------------------------------------------------------------------
[2001-07-22 20:26:58] andy@php.net
ya...
Sorry about my remark.
If you create a page like cnewbill said, you can see all of environmental
variables, server variables, etc... that PHP defines.
Also, as cynic said check out the documentation at
http://www.php.net/docs.php
Hopefully you can get it to work...
------------------------------------------------------------------------
[2001-07-22 20:21:16] cnewbill@php.net
Ouch Andy, that seemed pretty harsh.
Anyways, do you have a page up I can look at with phpinfo() in it? If not just make a quick page
like so
<?php
phpinfo();
?>
-Chris
------------------------------------------------------------------------
[2001-07-22 20:19:45] cynic@php.net
Michael, I think you should devote some time to read the PHP documentation. You're trying to
make orange juice from apples. That won't work.
Also, next time you think you've found a bug, please check that it's not a PEBKAC.
Last, give only accurate, and TRUE!!! info in bug reports. I could easily see that your bug report
was bogus, but with something more complicated or subtle, your claim that it works on other machines
could mislead a developer, and cost them a lot of their time. I'm sure that would not be your
goal.
Andi, I didn't get your remark about Linux. The behavior he was seeing is completely platform
independent.
------------------------------------------------------------------------
[2001-07-22 20:10:04] andy@php.net
Ok...
I can't help you anymore. This is totally bogus.
The linux thing was a joke, because nothing like this would happen with linux.
(*Andy*)
------------------------------------------------------------------------
[2001-07-22 20:08:15] michael@frifra.de
If i replace $SCRIPT_FILENAME with $HTTP_SERVER_VARS["SCRIPT_NAME"] the dirname function
only returns the path from the inet_root but not from the harddrive root.
if i type in the whole path manualy and the inclusion woks, i see that
$REQUEST_URI
is also empty... so my whole project could not work at my server...
I think its a general configuration problem, but what sholud i do?
"--By the way, get Linux." -> later... i have no experience with Linux
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=12310
Edit this bug report at http://bugs.php.net/?id=12310&edit=1