4.2.? function my_file_get_contents($file_name) { $arr=file($file_name); $res=""; while (list($l,$line)=each($arr)) { $res.=$line."\n"; } return $res; } ?> Build your E-Scene );" onunload="Stop()">

<< Back

Background

Next >>

'.stripslashes($_REQUEST['note']).''; } ?>

eScene Help

Head

<< Back
Next >>

Body

<< Previous
Next >>

Item

<< Back
Next >>
 
You typed your e-mail address wrong, please try again
'; } } else { echo '
You typed your friends e-mail address wrong, please try again
'; $_REQUEST['sendto']=""; } } if (isset($_REQUEST['sentfrom'])&&(!isset($_REQUEST['sendto']))) { $from=$_REQUEST['sentfrom']; if (eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@([0-9a-z](-?[0-9a-z])*\.)+[a-z]{2}([zmuvtg]|fo|me)?$",$from)) { if ($from != "$anon_address") { $text=my_file_get_contents($note_path); $link='http://'.$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF'].'?'; $link.='b='.$_REQUEST['b']; if (isset($_REQUEST['title']) && ($_REQUEST['title']!="")) { $link.='title='.rawurlencode($_REQUEST['title']).'&'; } if (isset($_REQUEST['note']) && ($_REQUEST['note']!="")) { $link.='note='.rawurlencode($_REQUEST['note']).'&'; } $link.='&i='.$_REQUEST['i']; // $link=rawurlencode($link); $text=str_replace('LINK',$link,$text); if (isset($_REQUEST['viewby'])) { $f=$_REQUEST['viewby']; } else { $f=$anon_address; } $text=str_replace('EMAIL',$f,$text); if (!file_exists($log_dir.$_SERVER['REQUEST_URI'])) { touch($log_dir.$_SERVER['REQUEST_URI']); mail($from,$f.' saw your E-Scene !!!'.$_REQUEST['title'],$text, "From: $f\r\n" ."Reply-To: $f\r\n" ."X-Mailer: E-Scene via PHP/" . phpversion()); } } } } ?>

Your friends e-mail address "> Your E-mail (to know when they see it) ">

Your eScene Title

Include a message

Help with eScenes


'; } } if (isset($_REQUEST['imlist'])&&($_REQUEST['imlist']!="")) { $ims=split(":",$_REQUEST['imlist']); while (list($k,$im_str)=each($ims)) { $im_type=substr($im_str,0,strpos($im_str,"=")); $im_def=substr($im_str,strpos($im_str,"=")+1); $def=split(",",$im_def); $img_no=$def[0]; $img_x=$def[1]; $img_y=$def[2]; switch($im_type) { case 'd': $im_type='doll'; break; case 'c': $im_type='cloth'; break; case 't': $im_type='toy'; break; } echo ''; } } function add_img($type,$num,$pos) { echo ''; } //backwards compatibility if (isset($_REQUEST['d'])&&($_REQUEST['d']!="")) { add_img("doll",$_REQUEST['d'],$_REQUEST['dp']); } if (isset($_REQUEST['c'])&&($_REQUEST['c']!="")) { add_img("cloth",$_REQUEST['c'],$_REQUEST['cp']); } if (isset($_REQUEST['t'])&&($_REQUEST['t']!="")) { add_img("toy",$_REQUEST['t'],$_REQUEST['tp']); } ?>