[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread andy
ID: 12310 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Any Old Operating System: WinNT IIS Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: This is because microsoft's directory structure uses backslashes , not forward slashes in your

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread andy
ID: 12310 Updated by: andy Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Any Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: Also, make sure that register_globals is set to on in your php.ini file. Previous Comments:

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread michael
ID: 12310 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Any Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: In my php.ini is: register_globals = ON if i declare global $SCRIPT_FILENAME - i get an empty string! On all other servers i

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread andy
ID: 12310 Updated by: andy Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Any Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: Try using $HTTP_SERVER_VARS[SCRIPT_FILENAME] instead of $SCRIPT_FILENAME. Previous Comments:

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread michael
ID: 12310 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Any Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: If i use this code: $path=dirname($SCRIPT_FILENAME); the variable $path is empty, because $SCRIPT_FILENAME is empty! if a

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread andy
ID: 12310 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Feedback Old Bug Type: Any Bug Type: Variables related Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: Please replace $SCRIPT_FILENAME with $HTTP_SERVER_VARS[SCRIPT_FILENAME] so

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread cynic
ID: 12310 Updated by: cynic Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Bogus Bug Type: Variables related Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: PHP doesn't set $HTTP_SERVER_VARS['SCRIPT_FILENAME'], but $HTTP_SERVER_VARS['SCRIPT_NAME']. this is bogus.

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread michael
ID: 12310 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Feedback Bug Type: Variables related Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: If i use: $path=dirname($HTTP_SERVER_VARS[SCRIPT_FILENAME]); i get: Warning: Undefined

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread andy
ID: 12310 Updated by: andy Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Variables related Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: Sorry about that... replace $SCRIPT_FILENAME with $HTTP_SERVER_VARS[SCRIPT_NAME] if that doesn't work, I am stumped. --By

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread michael
ID: 12310 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Variables related Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: If i replace $SCRIPT_FILENAME with $HTTP_SERVER_VARS[SCRIPT_NAME] the dirname function only returns the path from

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread cynic
ID: 12310 Updated by: cynic Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Variables related Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: 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

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread cnewbill
ID: 12310 Updated by: cnewbill Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Variables related Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: 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

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread andy
ID: 12310 Updated by: andy Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Variables related Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: ya... Sorry about my remark. If you create a page like cnewbill said, you can see all of environmental variables, server

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread cynic
ID: 12310 Updated by: cynic Reported By: [EMAIL PROTECTED] 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

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread andy
ID: 12310 Updated by: andy Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Variables related Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: make sure you have a big mailbox if you subscribe to this mailing list. You get lots of messages... Previous Comments:

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread michael
ID: 12310 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Variables related Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: Hi i just made a page with ?php phpinfo(); ? http://frifra.dtdns.net:8082/informatik/test.php

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread cnewbill
ID: 12310 Updated by: cnewbill Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Variables related Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: I'm assuming you want to be able to call these includes, and you think you need to know the path? IMO, there is a much cleaner

[PHP-DEV] Bug #12310 Updated: $SCRIPT_FILENAME

2001-07-22 Thread cynic
ID: 12310 Updated by: cynic Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Variables related Operating System: WinNT IIS PHP Version: 4.0.6 New Comment: Please, take this where it belongs: [EMAIL PROTECTED] Previous Comments: