marc254 Posted October 30, 2016 Share Posted October 30, 2016 Hello Everyone I am woking on a chrome extension and I would like to make a feedback form in for user to send directly feeback to a given email. I can't save my main page as .php so I inserted the form via an iframe from an external page. Something like that: <iframe src="feedback.php" width="100%" height="100%" frameborder="0"></iframe> It is still not working. When I open the extension it displays the full code instead of the form. Do you know how to use php code in chrome extension? Thank you Regards Link to comment Share on other sites More sharing options...
Ingolme Posted October 30, 2016 Share Posted October 30, 2016 PHP has to run on a server that has a PHP engine installed. It is a server-side technology. Browsers cannot send mail without the aid of a server. Link to comment Share on other sites More sharing options...
marc254 Posted October 30, 2016 Author Share Posted October 30, 2016 Ok I see. So if I want to make user send feedback I need to refer him to a website? Link to comment Share on other sites More sharing options...
Ingolme Posted October 30, 2016 Share Posted October 30, 2016 You could make the extension submit data to a mail form on your own website if you have one, but then you'll need to make sure your website is always available for the extension to use. Your mail form would also be open for anybody else to use as well. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now