I love how I left for like 20 minutes and a whole argument sparked out!! Please mods don't lock this thread, I didn't do nothing!!
LOL!

jesirose, you were right all the time abut the argument...
Anwaz, I tried $_SERVER['REQUEST_URI'];and echo the results.
I got the full path except the annoying
http://www.website.com thing. This is a good start.
Now how do I use the string functions? I mean I know how to do it if the name was only like index.php but it may be news/extra/hello/blah.php? how do I do that?
Sorry, I'm a newbie, a.k.a a NOOB!