RE: [PHP] Question about creating php files from a form
| From: | Bob McConnell | Date: | Fri, 14 May 2010 13:19:09 +0000 |
| Subject: | RE: [PHP] Question about creating php files from a form | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-305195@lists.php.net to get a copy of this message | ||
From: Kevin
> I am trying to figure out how to create files when a user submits a
form ...
> I have seen something about '*fopen*' , is that the direction I should
> be going?
>
> Here is what I am trying to accomplish:
>
> I am creating a program to keep track of recipes for my wife. I have
> have page set up where she can put the name of the recipe, the
> ingredients, and the amounts of each ingredient.
> Then she clicks "Submit"
>
> I would like a html file with the name of the recipe to be created ie
> *cookies.html *with a link to the cookies.html created on another
page.
There are already a number of free applications for this. I have
reviewed over a dozen of them in the past year. Drupal has a recipe
module, Gourmet for Gnome users, Krecipes for KDE users. ReciPants in
Perl, Qookbook, to name a few off the top of my head. Some of them will
link into the USDA Nutrition Database as well. You may not need to
reinvent this particular wheel.
Bob McConnell