I have a server setup on my laptop (easyphp1) with appache and php/mysql and that is where I design then I upload to my host. So ths setups are a bit different between the two.
My problem is in the end I want my variable be..$filepath = $_SERVER['PHP_SELF']; and then be able to echo '$filepath'; within my page.
On my laptop the echo I get (which is what I want) is "/index.php". But when I upload it to my host I get "/" (slash and no filename).
I would guess this has to do with global variable? but this is just a SWAG (scientific wild ass guess).
Any ideas would be great.
Thank you