Re: String Parse Help for novice
| From: | Karl DeSaulniers | Date: | Sun, 13 Jun 2010 22:39:55 +0000 |
| Subject: | Re: String Parse Help for novice | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306105@lists.php.net to get a copy of this message | ||
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? --Ricktry echo($url); and see Karl DeSaulniers Design Drumm http://designdrumm.com