--- Phill Sparks <[EMAIL PROTECTED]> wrote: > I thought that was what he wanted too but as William pointed out it > may not be... Using the above method you can use the strrpos instead > of strpos (reverse search). Or you coulud use the basename function > provided by php. > > Phill > > References: > http://php.net/strrpos > http://php.net/strpos > http://php.net/basename
Although you have to use it with a fully-qualified URL, the parse_url() function is useful for getting different parts of an address. http://php.net/parse_url James
