Re: [PHP] Class Load twice

2008-05-31 Thread Ludovic André
; } } ? That was an easy one ;) Best regards, Ludovic André -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] htmlentities()

2007-11-17 Thread Ludovic André
that it would give me in the second line: field2=lt;bgt;Greater input and lower inputlt;/bgt; and the lower two lines I expected as: A 'quote' is lt;bgt;boldlt;/bgt; A #039;quote#039; is lt;bgt;boldlt;/bgt; What do I miss understand here did you try to 'view-source' the page ? -- Ludovic André -- PHP

Re: [PHP] problem with foreach

2007-10-22 Thread Ludovic André
is not submitted along. But all the other comments of this thread are to be taken into account as well ( $_POST['option'], trying to print_r($_POST), ...) Ludovic André -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] remove page referrer

2007-09-11 Thread Ludovic André
Hi, You can not control this, but you might be able to control the page where the user is going back through the third page :) like this: page 1: submit to page 2 page 2: header('Location: /page 3'); page 3: the final page if the user clicks back he is going to end up on page 2 which has

Re: [PHP] mail() silly question

2007-09-01 Thread Ludovic André
.= 'From: [EMAIL PROTECTED]'; BUT, special chars like \n or \r need to be inside a double-quoted string in order to be taken into account. This one is then correct: $header .= 'From: [EMAIL PROTECTED]' . \r\n; This one as well: $header .= From: [EMAIL PROTECTED]; Ludovic André -- PHP General

Re: [PHP] PhP / MySQL problem

2007-08-29 Thread Ludovic André
Hi, I created a form asking username, password, country, etc. On the submit of this form I make a sql connection and update the database, add the user. The problem is that whenever the field 'password' is filled in, it (I don't know what) is asking to confirm the change of the password. I

Re: [PHP] Perhaps an incomplete $_POST

2007-08-29 Thread Ludovic André
Yep, the form name is never submitted with the form info. However, the submit button will be submitted along. So, as an alternative, you could name the submit button in a way to recognize the submitted form: form name=foo ... input type=submit name=fooSubmitBtn ... /form Ludo To the best of

Re: [PHP] A simple PHP script to generate a Pie Chart based on SQL query

2007-08-27 Thread Ludovic André
I am looking for a simple PHP script that can generate Pie Chart based on SQL query resultset. http://www.aditus.nu/jpgraph/ This lib works great! Ludo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] upload temp dir in vhost env.

2007-08-26 Thread Ludovic André
Hi, that's not a problem to specify where the uploaded file has to be moved after upload. As you specify for each user a personal directory in the system, you just need to use a function like move_uploaded_file() to move the uploaded file to this directory. Each uploaded file goes to,

Re: [PHP] Not quite OT but maybe close... Help with MySQL

2007-08-08 Thread Ludovic André
Hi, Jason Pruim a écrit : I tried asking this question on the MySQL list but haven't gotten very many helpful responses... Does anyone know how to successfully import a excel file into MySQL (To make it on topic) Using PHP? I have tried using LOAD FILE in mysql and it just imports the first