A couple more things and I'll stop bugging everyone. I'm trying to get the file name of the string. If it includes the extension that's fine as well. I thought the code below would do this but its not.
$filevalue = str_replace("\\\\", "/", $filevalue); //get specific file name $parts = explode("/",$filevalue); $file_name = $parts[count($parts)]; //line 42 Its giving me error: Notice: Undefined offset: 6 in c:\inetpub\wwwroot\webpage10\example\u_images\act_load_imgs.php on line 42 One other thing, after the results, I get on my output screen at the top the word "Array", yet I don't have this anywhere in my output. Even after I remove the above code to get rid of the error message, I get this. Anyone have any ideas of how I can get rid of this? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php