Using dirname to get a directory path...
Posted: Thu Feb 05, 2009 10:25 am
So instead of doing something like PAGE.php?blah=var (As google does not like that for obvious reasons) I want to do it like this:
Im going to embed a flash object in a page so the structure will look like 'http://DOMAIN.com/games/GAMENAME' so i want to get the 'GAMENAME' part and put it into a variable so what line of code would i use?
Thanks
Oscardog
Im going to embed a flash object in a page so the structure will look like 'http://DOMAIN.com/games/GAMENAME' so i want to get the 'GAMENAME' part and put it into a variable so what line of code would i use?
Thanks
Oscardog