Re: OT: nooB html form question
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: OT: nooB html form question

From: JWBlue <nospam@nospam.com>
Date: Fri Mar 31 2006 - 20:00:32 CEST

This gets me started thank you. I will tie the tex file name to the user
login so they can only write to their own file.

Thank you very much for the reply.

"Sjoerd" <sjoerder@gmail.com> wrote in message
news:1143742065.164511.162560@i39g2000cwa.googlegroups.com...
> Something like this:
>
> <?php
> if (isset($_POST['checkbox'])) {
> file_put_contents($_POST['checkbox'], 'MyFormData.Txt');
> }
> echo '<input type="checkbox" name="checkbox"';
> if (file_get_contents('MyFormData.txt')) echo 'checked="checked"';
> echo '>';
> ?>
>
> But does this code example really help you?
>
Received on Mon May 1 02:45:54 2006