virtualtom
Programmer
I have the below code in a php file and need to be able to extract the data that passes thru the file and save it to harddisk.
I would be willing to pay a fair sum if someone could help me figure this out..
[pre]
function idx_register_user(){
if(!empty($_POST['firstname']) && !empty($_POST['lastname']) && !empty($_POST['email']) && !empty($_POST['phone']) && !empty($_POST['pw'])){
$userdata = [
'user_pass' => get_option('idx_vow_mode') === 'onx' ? '8675309' : $_POST['pw'],
'user_login' => $_POST['email'],
'user_nicename' => $_POST['firstname'].'-'.$_POST['lastname'],
'user_email' => $_POST['email'],
'display_name' => $_POST['firstname'],
'first_name' => $_POST['firstname'],
'last_name' => $_POST['lastname']
];
}
[/pre]
Thank you.'
I would be willing to pay a fair sum if someone could help me figure this out..
[pre]
function idx_register_user(){
if(!empty($_POST['firstname']) && !empty($_POST['lastname']) && !empty($_POST['email']) && !empty($_POST['phone']) && !empty($_POST['pw'])){
$userdata = [
'user_pass' => get_option('idx_vow_mode') === 'onx' ? '8675309' : $_POST['pw'],
'user_login' => $_POST['email'],
'user_nicename' => $_POST['firstname'].'-'.$_POST['lastname'],
'user_email' => $_POST['email'],
'display_name' => $_POST['firstname'],
'first_name' => $_POST['firstname'],
'last_name' => $_POST['lastname']
];
}
[/pre]
Thank you.'