Re: How do they do this?

From: Date: Mon, 23 Oct 2000 03:38:54 +0000
Subject: Re: How do they do this?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-21706@lists.php.net to get a copy of this message
The first page submits the form to the second page: all fields are made into variables that are passed on to the second page. Is this what you're asking? ----- Original Message ----- From: "CDitty" <mail@redhotsweeps.com> To: <mstearne@entermix.com> Cc: <php-general@lists.php.net> Sent: Sunday, October 22, 2000 8:22 PM Subject: Re: [PHP] How do they do this? No. These is a list of email lists. Users choose what email lists they want to receive and hit submit. Something happens on the next page and they are subscribed. What I would like to know, is how does the next page know what the users selected? CDitty At 10:16 PM 10/22/00, Michael Stearne wrote: >They probably say in the goto.php script > >header("Location: $listname"); > > >CDitty wrote: > > > I have some html code that is a list of newsletters that was given to me by > > an affiliate. When submitted, this goes to a php page. Can someone tell > > me how this page gets all of the values that are checked? > > > > I thought that it was handling it all in an array, but I have been unable > > to verify this. > > > > Can anyone help me understand it? > > > > Here is the code from the page that has form. > > > > <BR><INPUT type=checkbox name=listname value="fabfree/Recipes.list">Recipes > > <BR><INPUT type=checkbox name=listname > > value="fabfree/HUMOR.list">Humor > > <BR><INPUT type=checkbox name=listname value="fabfree/beauty.list">Beauty > > <BR><INPUT type=checkbox name=listname > > value="fabfree/gambling_and_lotteries.list">Lotteries > > <BR><INPUT type=checkbox name=listname > value="fabfree/Contests.list">Contests > > <BR><INPUT type=checkbox name=listname > value="fabfree/Gambling.list">Gambling > > <BR><INPUT type=checkbox name=listname > > value="fabfree/Computer_Software-Educational.list">Software-Educational > > <BR><INPUT type=checkbox name=listname > value="fabfree/COSMETICS.list">Cosmetics > > <BR><INPUT type=checkbox name=listname > > value="fabfree/WEIGHT_LOSS.list">Weight Loss > > <BR><INPUT type=checkbox name=listname > value="fabfree/Genealogy.list">Genealogy > > <BR><INPUT type=checkbox name=listname > > value="fabfree/Health_and_Fitness.list">Health And Fitness > > <BR><INPUT type=checkbox name=listname value="fabfree/JEWELRY.list">Jewelry > > <BR><INPUT type=checkbox name=listname > > value="fabfree/Clothing-Catalogs.list">Clothing-Catalogs > > <BR><INPUT type=checkbox name=listname > > value="fabfree/EDUCATIONAL_TOYS_AND_GAMES.list">Educational Toys & Games > > <BR><INPUT type=checkbox name=listname > > value="fabfree/TOYS.list">Toys > > <BR><INPUT type=checkbox name=listname > > value="fabfree/HOBBIES_AND_GAMES.list">Hobbies And Games > > <BR><INPUT type=checkbox name=listname > value="fabfree/Astrology.list">Astrology > > <BR><INPUT type=checkbox name=listname value="fabfree/CRAFTS.list">Crafts > > > > Thanks > > > > CDitty > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#21706) next »