Please please help me...I'm very new to PHP and I'm trying to have a contact us page. I tried downloading a free script but couldn't understand a thing. I just have this code:
Code:<? foreach($_GET as $key => $value) { $$key = $value; } foreach($_POST as $key => $value) { $$key = $value; } $page_title=""; $page_description=""; $page_keywords=""; if (!isset($btn_contact)): header ("location:index.html"); else: $mailto=""; $subject=""; $message=implode('',file('index.html')); $message=str_replace('"',""e;",$message); eval("\$message=\"$message\";"); $message=str_replace('"e;','"',$message); $header="From: $email\n"; @mail($mailto,$subject,$message,$header); header ("location:index.html"); endif; ?>
Can somebody please please guide me how do I use this? and where should I put it?
uber newbie![]()







Bookmarks