We have a simple PHP contact us form that we have setup, which works fine on it's own as can be seen here :
http://gadgetfreakz.co.uk/help/contact.phtml
However when implemented into magento through CMS Pages it will not display any other verification other than 0000:
http://gadgetfreakz.co.uk/contactus
I have directly linked the image.php file to a root folder, this changed it from not displaying an image to displaying 0000.
I believe the issue is in the contact-form.php, I have zipped the entire contact us form as the code was too long to be posted which can be found here :
http://gadgetfreakz.co.uk/help/contactform.zip
Thank you very much!
Regards
The problem is that you cannot have PHP code in CMS pages . That link provides several workarounds. I don't know if those solutions will work for you, the session stuff might cause problems.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.