Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can ankyone help me extract the data that passes thru this form?

Status
Not open for further replies.

virtualtom

Programmer
Apr 25, 2003
1
US
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.'

 
Can you clarify what you mean by "save it to harddisk"? In what manner? It looks like someone already crafted this to store the data somewhere (although that storage code is excluded from your example). I cannot imagine someone writing this just to have the data thrown away and forgotten.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top