Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FINN:
- if($formok){
- PLASSER UNDER:
- $code = str_replace("<", "<", $code);
- $code = str_replace(">", ">", $code);
- -------------------------------------------------------------------------------------------
- Kildekoden din skal da bli slik:
- -------------------------------------------------------------------------------------------
- if($formok){
- $code = str_replace("<", "<", $code);
- $code = str_replace(">", ">", $code);
- $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
- $emailbody = "<p>You have recieved a new snippet from your website.</p>
- <p><strong>Name: </strong> {$name} </p>
- <p><strong>Email Address: </strong> {$email} </p>
- <p><strong>Snippet Name: </strong> {$snippetName} </p>
- <p><strong>Code: </strong></p>
- <p> {$code} </p>
- <p>This code was sent from the IP Address: {$ipaddress} on {$date} at {$time}</p>";
- }
Advertisement
Add Comment
Please, Sign In to add comment