File Extension File Extension
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

File Extension

Started by ojohn, November 07, 2003, 01:18:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ojohn

For the filename can i just show the file name and not the File Extension?

Joachim Müller

edit displayimage.php and find    $info[$lang_picinfo['Filename']] = htmlspecialchars($CURRENT_PIC_DATA['filename']);Use one PHP's string functions (your choice) to remove the extension (see http://de2.php.net/manual/en/ref.strings.php ).

GauGau