- Mar 22, 2013
- 9,142
- 10,489
My hosting provider updated the PHP to 8.2. One of my websites contact form returns a blank page.
I changed this:
To this:
Now the page loads, but when I fill out the contact form and send, it throws a blank page. So I changed this:
To this:
Now everything works, but when I receive the message from the contact form, it comes like this:
How can I fix this stupid thing? @TomTheCat
p.s sorry for the screenshots, but I will never figure out how to post code on BHW and make it work...
I changed this:
PHP:
if ( get_magic_quotes_gpc() && isset($_POST) ) {
phpfmg_stripslashes( $_POST );
};
To this:
Now the page loads, but when I fill out the contact form and send, it throws a blank page. So I changed this:
PHP:
$strip = get_magic_quotes_gpc() ;
To this:
PHP:
// $strip = get_magic_quotes_gpc(); // Remove or comment out this line
Now everything works, but when I receive the message from the contact form, it comes like this:
How can I fix this stupid thing? @TomTheCat
p.s sorry for the screenshots, but I will never figure out how to post code on BHW and make it work...