|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
PHP_SELF
Hi. I was wondering how to change $PHP_SELF. Well, on my website, say if you had a page like: test.php?action=yes, $PHP_SELF would be just /test.php . On my personal webserver, the $PHP_SELF would be /test.php?action=yes . How can I get it so that $PHP_SELF is JUST the page, like /test.php ? Thanks a lot!!!
|
|
#2
|
|||
|
|||
|
RE: PHP_SELF
$self = str_replace(stristr($PHP_SELF, '?'),'',$PHP_SELF);
|
|
#3
|
|||
|
|||
|
RE: PHP_SELF
Thanks a lot, I'll try that.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > PHP_SELF |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|