I was wondering if anyone could help me with a problem that I'm having trying to extract a character string from a file name. I have an upload form and script and am trying to extract the file name without the file extension (i.e. $file_name = "details.pdf"; $desired_string = "details"). When I "echo" the string length of $file_name, the script sends back a value of 0, but the script still uploads the file properly. This leads me to believe that the value of $file_name is not actually a string but some other data type.
Anyone have any ideas on this one???
Thanks in advance,
Dave