On Jun 13, 2010, at 5:35 PM, Rick Dwyer wrote:
OK, I get the following error:Warning: basename() expects parameter 1 to be string, array given in....When I use the following: $thepath = parse_url($url); $filename = basename($thepath); Is my variable thepath not automatically string? --Rick
try echo($url); and see Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php