Re: Text from web form

From: Date: Wed, 11 Sep 2002 21:34:50 +0000
Subject: Re: Text from web form
References: 1  Groups: php.general php.install 
Request: Send a blank email to php-general+get-116043@lists.php.net to get a copy of this message
Hi, If you have register global off on your php.ini, you should do: $name = $_POST['name']; $message = $_POST['message']; at the top of your script to enable the variables. -- Nicos - CHAILLAN Nicolas nicos@php.net www.WorldAKT.com - Hébergement de sites Internet "Rick King" <richard_king@nonhp-am.exch.hp.com> a écrit dans le message de news: 20020911212845.17046.qmail@pb1.pair.com... > Apache: 1.3.26 > PHP: 4.2.3 > OS: HPUX-11 > > Hello PHP Guru's! > > After successfully installing PHP and viewing the phpinfo page, I decided to > create a simple web-form. Just a basic "Name" "Message" web-form, when the > form is complete it is emailed to an account. Everything works, except I > don't see the filled in contents in the email message. I don't see the what > the person filled out. But I see "Name:" ane "Message:" > > Any ideas? > > Here's my config line for installing PHP: > CC=gcc ./configure --prefix=/opt/php \ > --without-mysql \ (didn't have MySQL installed) > --with-apxs=/opt/apache/bin/apxs > > Here's my config line for installing Apache: > CC=gcc ./configure --prefix=/opt/apache \ > --enable-module=most \ > --enable-shared=max > > Any help would be greatly appreciated! > > Rick > >

« previous php.general (#116043) next »