If you're having trouble with Abyss and PHP_SELF, change the "type" in your host to "Standard" instead of "PHP Style".

I was wondering why a bunch of scripts were duplicating URLs.... "/page.php?var=xxx" would end up being "/page.php/page.php?var=xxx". If you see this happening in your scripts, the only way it seems to solve it is:

1) change your php host setting to "Standard"
or 2), change every single line of code in all your scripts where you use $PHP_SELF.

Can you post the code so that we may check it for any errors? Thank you!
The PHP version you're using should be set to Standard under "Scripting Parameters" for Type._________________Computer Programmer & Networking Specialist

Is it a known bug of PHP or a know bug of "standard" vs. "php style" in Abyss on Windows?

I can't duplicate the bug running Apache on Win (same version of PHP) or Apache on *nix (same version of PHP).

Not placing blame here, I'm just trying to find all these bugs before using Abyss on a production box.

Would you happen to know what the difference is between "standard" and "php style"? I can't find any documentation... I'm trying to see if this setting would have any other negative effects for coding purposes.

I have the same bug on Xubuntu 8.04. I read somewhere that there is a patch for it, but I write my code to run on all versions of PHP5 (you never know what server the code has to run on) and therefore take this bug into account, even if it is solved on my PC.

I have followed the php installation instructions and also followed the instructions set out here but it makes no deference, im running the latest update to php on a fedora 9 box with the latest abyss version. no matter what i do i always get "domain/index.php/index.php" this is driving me nutty, if i dident already have a site in the apache web, i would just use apache and forget all about abyss all togeather. as it stands im now thinking ill have to set up another box as abyss seems to me to be completely unreliable to run php

Problem is that on my provider's server (Apache 1.3.19, PHP 4.1.2), REDIRECT_URL always points to the php script URL INCLUDING the HTTP-GET variables. SCRIPT_NAME has the correct value but never gets used because REDIRECT_URL is already defined.

register_globals does not need to be enabled for $PHP_SELF to work. I've always had register_globals off (on PHP 5.16 through 5.3.2), and I use that variable without issue._________________Portfolio: Robert Lerner

Hey Trust ,as technetx said change all the script line by line ......is it possible ???
because if i have large website and having huge amount of code then i cannot change whole script line by line ...so let me know is there any procedure from with i can change all the code automatically by once ..