PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi I was wondering if there is a way to remove 2 periods from a value for example: $ex="../dir/filename"
so that you could make it look like this: $ex="/dir/filename"
I am positive there is a simple command and thought I read about in the forums here but can't seem to find it now.