Re: seeing strange things?

From: Date: Wed, 09 Jul 2003 00:40:37 +0000
Subject: Re: seeing strange things?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-154459@lists.php.net to get a copy of this message
OK. I think Imp the strange thing seeing things are and I don't think they are. Anyway, disregard the last part about the Array. I had an echo statement that I was using for testing buried in the code. "Micah Montoy" <montmica@isu.edu> wrote in message news:20030709003745.66766.qmail@pb1.pair.com... > 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 (#154459) next »