Search:

Type: Posts; User: jellby

Search: Search took 0.02 seconds.

  1. Replies
    14
    Views
    4,264

    Thank you. I don't think I will need another...

    Thank you. I don't think I will need another locale for now, but I notice "sv_SE" (Swedish) doesn't work either. May I ask what the problem is? Do you need to enable locales one by one for each...
  2. Replies
    14
    Views
    4,264

    Sure. Your code:

    Sure. Your code:


    <?php
    setlocale(LC_ALL, 'de_DE');
    echo strftime("%e %B %Y");
    ?>

    Produces this for me:
  3. Replies
    14
    Views
    4,264

    Is the problem still unclear? Is it only...

    Is the problem still unclear? Is it only happening on my account?
  4. Replies
    14
    Views
    4,264

    The � characters are not a problem, that's just...

    The � characters are not a problem, that's just the encoding which I can solve, I just didn't for this sample file, which is plain text, no HTML wrapper.

    The problem is that I'm setting the locale...
  5. Replies
    14
    Views
    4,264

    No solution?

    No solution?
  6. Replies
    14
    Views
    4,264

    Thanks, but that only fixes it for Italian, and...

    Thanks, but that only fixes it for Italian, and I'd like to use other languages too, not necessarily limited to:


    <?php
    setlocale(LC_ALL, 'it_IT');
    echo strftime("%A, %e %B %Y<br/>");...
  7. Replies
    14
    Views
    4,264

    Hmm... Must be something in the configuration. I...

    Hmm... Must be something in the configuration. I created setlocale/index.php with exactly your code and nothing else, and I get: https://jellby.altervista.org/setlocale/

    Have you tried with...
  8. Replies
    14
    Views
    4,264

    How to change locale in PHP?

    I tried to use setlocale in php, but it doesn't seem to be working according to the documentation (https://www.php.net/manual/en/function.setlocale.php). What I get is that the locale stays put to...
  9. Replies
    1
    Views
    1,853

    Disable PHP short tags

    I need to disable "short tags" in PHP, as I'm getting this king of error: https://www.electrictoolbox.com/php-disable-short-tags-apache-htaccess/ Briefly, I want to have inline content in PHP with:
    ...
Results 1 to 9 of 9

SEO by vBSEO