Hi,
I am not sure if this is the correct group for this problem, so apologies if
I have got this totally wrong.
I have just installed PHP5 on a Windows XP machine with IIS (PWS).
phpinfo() seems OK.
However, when I try the following test script:
name.html looks like:
em: sexta-feira, 5 de novembro de 2004 07:25
Para: [EMAIL PROTECTED]
Assunto: [PHP-WIN] POST/GET problem
Hi,
I am not sure if this is the correct group for this problem, so apologies if
I have got this totally wrong.
I have just installed PHP5 on a Windows XP machine with IIS (PWS).
phpinfo() see
sagem original-
De: Martyn Kinder [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 5 de novembro de 2004 07:25
Para: [EMAIL PROTECTED]
Assunto: [PHP-WIN] POST/GET problem
Hi,
I am not sure if this is the correct group for this problem, so apologies if
I have got this totally wrong.
I have
Sorry, there was an error...
if (!empty($_POST['surname']))
$surname=strtoupper( $_POST['surname'] );
else
echo "Empty name";
Luis Moreira wrote:
Try reading the variable before you use it :-)
For best protection, see first if something went through...
if (!empty($_POST['surname']