WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • file upload name batch
  • Print
Pages: [1]   Go Down

Author Topic: file upload name batch  (Read 5008 times)

Offline noname8

  • Posts: 151
file upload name batch
« on: April 08, 2009, 07:54:37 PM »
just lately installed baker because WP really sucked with every-day security holes & updates

this is nice an simple

however, when upload image with scandic, ä ö Åå
it came up with ____  but when inserting it to page, the src came up with ä and ö.
(maybe becos my server is old and not fully utf-8) so what i did was functions.php media_filename:

Code: [Select]

$low=array("ä" => "a", "ö" => "o", "Ä" => "a", "Ö" => "o", "Å" => "a", "É" => "a", "Á" => "a", "Ü" => "u", "Ñ" => "n");
    $string=strtolower(strtr($string,$low));

What do you thin, could this be done in more simple way?
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • file upload name batch
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2