Re: running a script
| From: | John Nichel | Date: | Tue, 03 Aug 2004 18:02:51 +0000 |
| Subject: | Re: running a script | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192565@lists.php.net to get a copy of this message | ||
On Tuesday 03 August 2004 13:32, Aaron Todd offered up the following tid-bit
of information :
> I like both of these methods...Is one of them more used regularly with
> PHP. I don't want to start down a road that will eventually dead end if
> you know what I mean.
>
> Thanks,
>
> Aaron
<snip>
>
> B) Store all the info that is entered in your form in a temporary table,
> with a unique id, and attach that id to the link in your email, eg.
>
> http://www.mydomain.com/processForm.php?id=<some id>
>
> And have the script (processForm.php), read the info from the temporary
> table and insert it into it's final destination.
I don't know if it's more common, but I would use the second option to do
something like this. No 'personal' infomation is passed to the script via
http.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com