Hi,
I'm a cold fusion developer making the switch to php. Everytime I try I run into problems.
Now all I want is to know which directory I'm in.
For instance I'm on the about page:
http://www.mysite.com/about
This will get my that info
getcwd();
But then how do I get the last words after the /
In CF it would be listLast("http://www.mysite.com/about", "/")
But there doesn't seam to be any list functions in php?????
Questions:
How do you loop through a list, according to a specified delimiter.
What the best way to do a listFind.
Thank You Soooo Much