|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a script which calls $phpself, however once the script has parsed, the href containing $phpself now includes /php4/php.exe in the url.
Anyone know how to get around this? I attempted to modify the Action for the CGI pointing to /php4/php.exe but this resulted in my php scripts not executing. Cheers. |
|
#2
|
|||
|
|||
|
That is a part of the windows CGI version that
can't be changed. You can put this somewhere at the top of your script: $PHP_SELF = str_replace("/php4/php.exe","",$PHP_SELF); lp |
|
#3
|
|||
|
|||
|
Thanks lp.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > $PHPSELF and /php4/php.exe |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|