Question to php-settings

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi, sorry, maybe a stupid question, but anyway

i have some php-scripts with things like this

echo <snip>   _("Name:") ; <snap>

it is not possible to see this page in my browser

when I change this in

echo <snip>   ("Name:") ; <snip>

the page is loaded.

I think it's an php-setting, but which ?

Can anyone help me


Re: Question to php-settings

Hans-Jürgen Lommel said the following on 25/06/2005 15:50:
Quoted text here. Click to load it

can you post the whole line, rather than snipping it?


Re: Question to php-settings

Oli Filth wrote:

Quoted text here. Click to load it
OK here is it, it's a part of login.php and belongs to the
I got the hint that it is a shortform of GetText and I trie a Test-Script
from the php-manual

// Set language to German
setlocale(LC_ALL, 'de_DE');

// Specify location of translation tables
bindtextdomain("myPHPApp", "./locale");

// Choose domain

// Translation is looking for in ./locale/de_DE/LC_MESSAGES/ now

// Print a test message
echo gettext("Welcome to My PHP Application");

// Or use the alias _() for gettext()
echo _("Have a nice day");

On my Suse-Machine I see the text,
on my eisfair-Server not.

Ups, what to do ?

Re: Question to php-settings

On Sat, 25 Jun 2005 16:50:07 +0200, Hans-Jrgen Lommel

Quoted text here. Click to load it

 I'd guess:

< Space: disk usage analysis tool

Site Timeline