First of all, my in progress site (all by hand, no pre-written code, just the occasional modified tutorial code used) is here: http://jallenbah.co.uk
Now, first problem - ugly boxes in firefox when clicking link divs, doesn't happen in chrome.
How can I stop this, or can't I?
Now, problem 2, slashes in my emails.
Here's the message I'm sending from http://jallenbah.co.uk/contact.php (please don't abuse this, I'm trusting you)
Here's how it ends up in my email inbox - \ before every " or 'Code:There's strange slashes in my message! "what is this i dont even" fffffffffffffffffffff ffffffffffffffffff fffffffffffffffffffffffff fffffffffffff
Here's my mail code...Code://///////////////////////////////////////////////////// //- Jallenbah.co.uk -\\ ------------------------------------------------------ From: James Allen - someemail@somewhere.lol Subject: Why are there stooopid slashes in my message :( ------------------------------------------------------ There\'s strange slashes in my message! \"what is this i dont even\" fffffffffffffffffffff ffffffffffffffffff fffffffffffffffffffffffff fffffffffffff ///////////////////////////////////////////////////////
All other feedback is of course welcome, and if there's a security flaw you notice, please inform me of that too!Code:$name_field = $_POST['name']; $email_field = $_POST['email']; $subject_field = $_POST['subject']; $message_field = $_POST['message']; $to = "<my email>"; $from = "From: Jallenbah.co.uk <my email>"; $subject = "Jallenbah.co.uk || " . $name_field . " - " . $subject_field; $body = "/////////////////////////////////////////////////////// //- Jallenbah.co.uk -\\\\ ------------------------------------------------------ From: $name_field - $email_field Subject: $subject_field ------------------------------------------------------ $message_field ///////////////////////////////////////////////////////"; mail($to, $subject, $body, $from);
Thanks.

Register
Events
Popular
More
Post #1








Agree x 1

Informative x 1






