Re: [PHP] localization folder for web site

2008-09-14 Thread Alain R.
Jochem Maas wrote: Alain R. schreef: Hi, mostly (90%) websites are designed to include localization (made in php) folder like following: www.mywebsite.com/en/ www.mywebsite.com/de/ www.mywebsite.com/fr/ why do they not use only 1 folder and use dynamically PHP to change localization

[PHP] localization folder for web site

2008-09-13 Thread Alain R.
Hi, mostly (90%) websites are designed to include localization (made in php) folder like following: www.mywebsite.com/en/ www.mywebsite.com/de/ www.mywebsite.com/fr/ why do they not use only 1 folder and use dynamically PHP to change localization of website ? has this something to do with

Re: [PHP] localization folder for web site

2008-09-13 Thread Alain R.
so how can i do the same ? i mean to have 1 single PHP page and to localize, but to have the URI with /en, or /fr or /de ? i know how to localize the complete website i already done it, but what you told ? One would hope that unless it's a pretty small static site those folders actually

Re: [PHP] localization folder for web site

2008-09-13 Thread Alain R.
how can i do the same ? Jochem Maas wrote: Alain R. schreef: Hi, mostly (90%) websites are designed to include localization (made in php) folder like following: www.mywebsite.com/en/ www.mywebsite.com/de/ www.mywebsite.com/fr/ why do they not use only 1 folder and use dynamically PHP

Re: [PHP] localization folder for web site

2008-09-13 Thread Alain R.
Maciek Sokolewicz wrote: 2. google apache mod_rewrite, that way you can rewrite urls of the form www.example.org/de/whatever to www.example.org/whatever?lang=de or even stick the de part into an environment variable $_ENV['lang'] = 'de' - Tul the mod_rewrite is possible only if i

[PHP] multiple question form creation

2008-08-26 Thread Alain R.
Hi, i have a web application in which some people should be able to create form adding questions and possible answers. basically user should: 1. type the question (which will be displayed to customer) 2. select type of answers (closed, open, list, multiple answer, and so on...) 3. add

Re: [PHP] multiple question form creation

2008-08-26 Thread Alain R.
thanks a lot Dan, i already know this possibility with textarea but it is not so nice. i would like to do something like under windows/linux. to have a button and when user click on it it add a new field for a new answer... however i do not know if it is so nice step for customer... any other

[PHP] import XLS sheet into DB

2008-08-15 Thread Alain R.
Hi, I would like to import content of an XLS sheet into a PostgreSQL DB (table). How can i do that ? thanks a lot, A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: News reader

2008-08-10 Thread Alain R.
if i use a real email address and SMTP from my real server, it works. but not with email address [EMAIL PROTECTED] :-( Alain Roger wrote: yes on port 119. i do not want to use my professional email address (or SMTP settings) to send message on newsgroups. for MS, Borland, eclipse and other

Re: [PHP] Re: News reader

2008-08-10 Thread Alain R.
it seems that news.php.net server is checking if address is real or a fake... at least it is checking if user's address is registered into their mailing list or if there are some keywords from filter like: fake, noemail, nospam,... now it works :-) Alain R. wrote: if i use a real email