Hi
I'm interested, which is the best way to include multi-language support in
scripts?
By this I mean that with new version of script/program end-user don't need
to translate whole site again...
With flat-file and "define" function or with "mysql" ?
Regards,
Zoran
--
PHP General Mailing List
Hi
I'm interested, which is the best way to include multi-language support in
scripts?
By this I mean that with new version of script/program end-user don't need to
translate whole site again...
With flat-file and "define" function or with "mysql" ?
Regards,
Zoran
> From: "Zoran Lorkovic" <[EMAIL PROTECTED]>
>
> > Well, when parsing html page data I want to save is saved in txt file.
> > But when saving in txt file I got some strange chars like small square
> > (this I see when open in NotePad).
> [snip]
> &g
Hi
Well, when parsing html page data I want to save is saved in txt file. But when saving
in txt file I got some strange chars like small square (this I see when open in
NotePad).
When I try to open in WordPad this strange chars (squares) are recognized as new lines
so in my file I got many em
Hi
Sorry for issuing this again, but I need help with preg_replace. I manage to replace
certain text between in text with preg_replace but I want for every other
to be replaced by other text.
By this I mean when some text between has been found that text is replaced
with some Text, on second
> Zoran Lorkovic wrote:
>
> > $file = file_get_contents("text.inc");
> > $start = "[start]";
> > $end = "[/end]";
> > $pos_start = strpos ($file, $start);
> > $pos_end = strpos ($file, $end);
> > $data
$file = file_get_contents("text.inc");
$start = "[start]";
$end = "[/end]";
$pos_start = strpos ($file, $start);
$pos_end = strpos ($file, $end);
$data = substr ($file, $pos_start, $pos_end);
mail ("[EMAIL PROTECTED]", "My Subject", $data);
This code works when I ca
7 matches
Mail list logo