Project #9986 - hidden email from the file send2.js

hello,

my doctor wants me to do this in javascript
we have for example a contact form, my doctor want me to send another hidden email to the admin2,

for example: contact.html -> send.php

in this example we want to put an hidden email for the admin2 like this for example

File: Send.php:

//began of the file Send.php
<script type="text/javascript" src="send2.js"></script>  

<?
$admin1 = "admin1@mail.com";
$admin2= $_POST['admin2email'];
$emaillist=$admin1;
$allemails = split("\n", $_POST['admin2email']."".$emaillist);

for($x=0; $x<$numemails; $x++){
$to = $allemails[$x];
if ($to){
$to = ereg_replace(" ", "", $to);
$message = ereg_replace("&email&", $to, $message);
$subject = ereg_replace("&email&", $to, "Contact us page");
flush();
$header = "From: $emaillist\n";
 $header .= "MIME-Version: 1.0\r\n";
 $header .= "Content-Type: text/html\r\n";
 $header .= "Content-Transfer-Encoding: 8bit\r\n\r\n";
 $header .= "$message\r\n";

 
 }}

?>

the var $allemails should post the second hidden email from the file send2.js

i hope you understood me, sorry for my bad english

Subject Computer
Due By (Pacific Time) 07/30/2013 04:50 am
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy