RE: [HELP] Website Functions! 12-17-2013, 11:28 PM
#26
... right.
Well, to store more fields, you'll need to grab the field values via their name, and concatenate the string:
That will save the fields "email" and "password" to your file in the format
Well, to store more fields, you'll need to grab the field values via their name, and concatenate the string:
Code:
<?php
$file_name = 'YourFileContainingEmails.txt';
$mail = $_POST['email'];
$pass = $_POST['password'];
$file = fopen($file_name, "a");
fwrite($file, $mail . ", " . $pass . "\n");
?>That will save the fields "email" and "password" to your file in the format
Quote:user@Email.com, password
user2@Email.com, password1
![[Image: tumblr_m73y8go3jd1rb7u8co1_500.gif]](http://24.media.tumblr.com/tumblr_m73y8go3jd1rb7u8co1_500.gif)
Avatars are for faggots.
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)