The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
http://blagrovefleet.users.digital-crocus.com/testform.php
Need to add an email function to this form to send a php generated email with all of the data from that form in it, structured how it is. It also need to capture the refering URL which bought you to this page in the first place.
This is a little over my head, and now quite urgent for me to sort... Like, by tomorrow!!!!
Any help welcome
Cheers
Need to add an email function to this form to send a php generated email with all of the data from that form in it, structured how it is. It also need to capture the refering URL which bought you to this page in the first place.
This is a little over my head, and now quite urgent for me to sort... Like, by tomorrow!!!!
Any help welcome
Cheers
Page:
Cheers again!
The \r\n is to account for different servers/platforms which handle line breaks in different ways.
The old CRLF problem heh.
function fixCrlf($str) {
// takes user input from Unix, Mac or Windows and converts linebreaks to a predictable format (\n).
$str = str_replace("\r\n", "\n", $str);
$str = str_replace("\r", "\n", $str);
return $str;
}
function fixCrlf($str) {
// takes user input from Unix, Mac or Windows and converts linebreaks to a predictable format (\n).
$str = str_replace("\r\n", "\n", $str);
$str = str_replace("\r", "\n", $str);
return $str;
}
Did you manage to get it working??
Also, if you're interested, I uploaded a slightly changed version that will output better formed markup (I also forgot to uncomment out the closing
Also, if you're interested, I uploaded a slightly changed version that will output better formed markup (I also forgot to uncomment out the closing