Re: Forms service
| From: | Michael Kimsal | Date: | Thu, 16 Nov 2000 22:22:29 +0000 |
| Subject: | Re: Forms service | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25800@lists.php.net to get a copy of this message | ||
If MySQL is not an option, probably no database is. (any particular reason
why not?)
If this is the case, you'll need to store the info in text files, and read those
back in on every request, populate the arrays, then do the 'in-array' checking
someone else already pointed out.
Steve wrote:
> I'm fairly new to PHP, so perhaps some of you can lend a hand. On my
> website, I'm creating a service where I provide free HTML form processing
> using PHP to customers. The actual mail command is not what my problem is.
> What I'd like to do is have a page with a bunch of pre-made form templates
> on it with radio buttons next to each template. So, for this page, all the
> customer needs to do is select one template, provide a username/password and
> an e-mail address, and press the submit button. What I'd like to have
> happen afterwards is have a new directory automatically created, using their
> username as the directory name, and have their form choice appear on the
> ensuing page within the directory...if this is too complicated, I'm not
> against the idea of having the modified pages appear in the same directory.
>
> Also, is there a way that I can save each username to an array, and each
> time a new user fills out the form, PHP will search the array to make sure
> that username is not taken already? MySQL is not an option here.
>
> Again, I know the mail function for PHP just fine, just not the afore
> mentioned issues. Thanks for any help you can give me.
>
> Steve - Webmaster
> http://www.stevesdomain.net
> AIM: nikkoruser
> ICQ: 91016151
>
> --
> 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
--
==========================
Michael Kimsal
http://www.tapinternet.com
PHP Training courses
http://www.tapinternet.com/php