seeing strange things?

From: Date: Wed, 09 Jul 2003 00:36:49 +0000
Subject: seeing strange things?
Groups: php.general 
Request: Send a blank email to php-general+get-154458@lists.php.net to get a copy of this message
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

« previous php.general (#154458) next »