On 07/26/2011 05:47 PM, Tim Streater wrote: > Is it to be expected that, if a file has no extension, and I do this: > > $info = pathinfo ($myfile); > > that I will get an error if I try to reference $info["extension"] ?? > > -- > Cheers -- Tim Just like any other array you'll get a notice: Notice: Undefined index: extension -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php