Thread: [AutoResize]
View Single Post
  #3  
Old 02-01-2006, 08:54 PM
mihas Offline
forum loafer
 
Join Date: Jan 2006
Posts: 3
1 Yes. EXIF.php
The extension moved to the following line ;-)

2 It's include directory in domain root folder - thanks to Autoresize Addon

3
PHP Code:
                // Extract the Coding Scheme Name from the first 8 characters
                
$char_code substr$data0);

                
// Extract the Data part from after the first 8 characters
                
$characters substr$data);

                
// Check coding scheme and interpret as neccessary

                
if ( $char_code === "ASCII\x00\x00\x00" )
                {
                        
// ASCII coding - return data as is.
                        
return $characters;
                }
                elseif ( ( 
$char_code === "UNICODE\x00" ) ||
                         ( 
$char_code === "Unicode\x00" ) )             // Note lowercase is non standard
                
{
                        
// Unicode coding - interpret and return result.
/*THIS IS 1686 --> */ 
return xml_UTF16_clean$charactersTRUE );
                }
                else
                {
                        
// Unknown coding - return string indicating this
                        
return "Unsupported character coding : \"$char_code\"\n\"" trim($characters) . "\"";
                }
                break;
        } 
Reply With Quote