Our sys. admin. recently decided to upgrade our version of PHP to 4.2.3 I don't remember what the previous version was. But currently None of our contact forms are working anymore. I recieve the email but none of the variables show up??
This is my code
<?php
$subject="Contact Us Form - Crossroads Web Site\r\n";
$comments=stripslashes("Square feet of living space: $Square_Feet \r\nBudgeted for your new
home: $Budgeted \r\nStyle preferred: $Style \r\nNumber of Bedrooms: $Bedrooms \r\nNumber of
Bathrooms: $Bathrooms \r\nCurrently have a property: $HaveProperty \r\nProperty located:
$LOACTED \r\nYear you want to build your new home: $Whatyear \r\nName: $Name \r\nAddress:
$Address \r\nCity, State, Zip: $City_State_Zip \r\nPhone: $Phone \r\nEmail Address: $Email
\r\nComments: $comments"
mail("jessica@compunet1.com",$subject, $comments);
Header("Location: ?>
This is the email.
Square feet of living space:
Budgeted for your new home:
Style preferred:
Number of Bedrooms:
Number of Bathrooms:
Currently have a property:
Property located:
Year you want to build your new home:
Name:
Address:
City, State, Zip:
Phone:
Email Address:
Comments:
It's as if none of the variables are passing from the form anymore.
Check it out if you like. I'm also get a lot of notices about undefined variables that I was getting before.
When faced with a decision, always ask, 'Which would be the most fun?'
This is my code
<?php
$subject="Contact Us Form - Crossroads Web Site\r\n";
$comments=stripslashes("Square feet of living space: $Square_Feet \r\nBudgeted for your new
home: $Budgeted \r\nStyle preferred: $Style \r\nNumber of Bedrooms: $Bedrooms \r\nNumber of
Bathrooms: $Bathrooms \r\nCurrently have a property: $HaveProperty \r\nProperty located:
$LOACTED \r\nYear you want to build your new home: $Whatyear \r\nName: $Name \r\nAddress:
$Address \r\nCity, State, Zip: $City_State_Zip \r\nPhone: $Phone \r\nEmail Address: $Email
\r\nComments: $comments"
mail("jessica@compunet1.com",$subject, $comments);
Header("Location: ?>
This is the email.
Square feet of living space:
Budgeted for your new home:
Style preferred:
Number of Bedrooms:
Number of Bathrooms:
Currently have a property:
Property located:
Year you want to build your new home:
Name:
Address:
City, State, Zip:
Phone:
Email Address:
Comments:
It's as if none of the variables are passing from the form anymore.
Check it out if you like. I'm also get a lot of notices about undefined variables that I was getting before.
When faced with a decision, always ask, 'Which would be the most fun?'