Jump to content

[SOLVED] $_SERVER["PHP_SELF"] in an included script.


iwarlord

Recommended Posts

I've got a file which uses $_SERVER["PHP_SELF"] to find it's own file name, but when I include this in another file it reads the one it's included in.

I realize this it probably how it's meant to work, but is there any way of avoiding this and only reading it's own filename?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.