Re: [PHP] Pb with checkbox

2002-04-18 Thread Frédéric Mériot

Ok, thanks
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 18, 2002 11:31 AM
Subject: Re: [PHP] Pb with checkbox


> On Thursday 18 April 2002 17:19, Frédéric Mériot wrote:
> > Hello,
> > I've got a little pb with checkboxes. In my form I've got 5 checkboxes
> > which have the same name "sel". When I submit the form and when I
display
> > the form variable "sel", it displays the last value only. I cannot catch
> > all the value checked in the form.
> >
> > If I try this code with coldfusion or ASP it displays a coma delimited
list
> > of all the values I checked in the form.
> >
> > How to fix this pb with PHP?
> >
> > My code:
> >
> > 
> > 
> >
> >  > 
> > 
> Name your checkboxes like:
>
>   name="sel[]"
>
> In your script you would have access to an array called $sel which
contains
> the values of your checkboxes.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
> /*
> Life does not begin at the moment of conception or the moment of birth.
> It begins when the kids leave home and the dog dies.
> */
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Pb with checkbox

2002-04-18 Thread Frédéric Mériot

Hello,
I've got a little pb with checkboxes. In my form I've got 5 checkboxes which
have the same name "sel". When I submit the form and when I display the form
variable "sel", it displays the last value only. I cannot catch all the
value checked in the form.

If I try this code with coldfusion or ASP it displays a coma delimited list
of all the values I checked in the form.

How to fix this pb with PHP?

Thanks



My code:



   




   







-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Upload problem

2002-04-11 Thread Frédéric Mériot

Hi All, it's my first post here.

I've got a problem with the upload. I want to upload a 4Mo file on the
server but it refuses to work. I modified the max_upload_size in the php.ini
but it continues to refuse the transfer. If I upload a smaller file it works
fine.

Someone told me to modify the MAX_FILE_SIZE constant but I don't find it.

I need help, Thanks

Fred from Paris


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] SetLocal() problem

2001-08-01 Thread Frédéric Mériot

Thanks a lot, but I must precise that I'm running PHP (4.0.6) under NT2000
(client not server) platform.
'fr_FR.ISO_8859-1' does not work too.

So, it's not very important, but where can I find the entire list of
countries with their ISO code?

Thanks.


- Original Message -
From: "Don Read" <[EMAIL PROTECTED]>
To: "Frédéric Mériot" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 4:10 AM
Subject: RE: [PHP] SetLocal() problem


>
> On 01-Aug-2001 Frédéric Mériot wrote:
> > Hello, I've got a little problem with the setLocal function. In many
> > tutorials they give this syntax:
> > setlocale('LC_TIME','fr_FR'); // for france
> >
> > I tried this but the "fr_FR" keyword does not seem to work. If I try
> > "french" instead it works.
> > I've got the same problem with all other countries keywords (C for
finland,
> > pt_BR for portugal ...etc).
> > If i do not put the name of a country, it does not work.
> >
> > Please help!
>
> Use the full ISO lang.charset definition : 'fr_FR.ISO_8859-1'.
>   (Linux allows aliases as defined in locale.alias, that's why "french"
works).
>
> Regards,
> --
> Don Read   [EMAIL PROTECTED]
> -- It's always darkest before the dawn. So if you are going to
>steal the neighbor's newspaper, that's the time to do it.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] SetLocal() problem

2001-08-01 Thread Frédéric Mériot

Hello, I've got a little problem with the setLocal function. In many
tutorials they give this syntax:
setlocale('LC_TIME','fr_FR'); // for france

I tried this but the "fr_FR" keyword does not seem to work. If I try
"french" instead it works.
I've got the same problem with all other countries keywords (C for finland,
pt_BR for portugal ...etc).
If i do not put the name of a country, it does not work.

Please help!

Thnx


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] How to fetch a "group by" Query?

2001-07-10 Thread Frédéric Mériot

Hello (again)

I've got a query which extract titles and categories with a group by on the
categorie. Is there a simple way to display rows like this (without doing a
second query ):

Categorie A
-titi
-toto
-tutu

Categorie B
-bibi
-nini
-fififi

Categorie C
-titi
-toto
-tutu

... etc

With cold fusion (for those who know) I want to do the same as 

Thanks




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Session timeout

2001-07-10 Thread Frédéric Mériot

How to set the session timeout?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] global.asa or application.cfm equivalent?

2001-07-10 Thread Frédéric Mériot

Hello, is there an equivalent of the global.asa (ASP) or application.cfm
(cold fusion) in PHP?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] From Cold Fusion back to PHP...

2001-01-17 Thread Frédéric Mériot

Hello, I'am a french CF developper and I've just started to dev in PHP.
You're right! Cold fusion is much easier than PHP but I think it's just a
question of "experience".

It's true, cold fusion is easier but it's due (partialy) to Cold fusion
studio. The Allaire Editor simplifies the work of the developer.

I'am waiting for an editor like CFstudio for PHP (and also a good debuger)
and I'am sure that it will be one of the most important language in the
future.


- Original Message -
From: "W Luke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 2:20 PM
Subject: [PHP] From Cold Fusion back to PHP...


> Hi,
>
> I started PHP in 1999, and wrote just one Web Site based on it. I started
to
> have a good feel for it and found it easy to implement, as well as it
being
> powerful. Shortly after that though, I was given the opportunity to learn
> Cold Fusion, and haven't looked back since today.
>
> I've got a possible contrat that I'm interested in taking on, in PHP and
> MySql. What I would like to discuss with everyone, (it might more relevant
> to past or current CF programmers - I apologise if it's a litte OT), is
the
> best way to get back into PHP from CF?
>
> When I got into CF, I found it so much easier than PHP - I loved
> Datasources, as they are so simple to connect to the database. Just give
it
> a name and - bingo. I also found it so much easier, and quicker, coming up
> with code for querying and retrieving data from DBs, and displaying it in
a
> Table. And combining it with HTML is a dream, when with PHP I found I was
> getting errors, and horrible ugly Tables.
>
> Are my fears in "re-learning" PHP well founded - or might my experience in
> Cold Fusion have helped?
>
> I'd be really interested to hear your comments.
>
> Will
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]