Discussion Forums  >  WebViews and HTML for Mobile

Replies: 6    Views: 285

Maarten Provo
I hate code!
Profile
Posts: 5
Reg: Jun 29, 2012
Tongeren
1,350
12/23/13 10:56 AM (10 years ago)

PHP Contact form

Hello I've made a small html-form with some jQuery of which I would like to mail the output through PHP. I have a php-file to do this on my webserver at https://www.example.com/mail.php . I've tested a simalar thing on my browser which works perfect. But in the app I get 'page not available'. Is there a problem of the framework to access over https? (BTW: If I lose the https the $_POST is empty both on the desktop as in the app.)
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/23/13 10:59 AM (10 years ago)
https should work fine in the app. Do you get the error message when trying to load the web-form, or when trying to process the results through the php page?
 
Maarten Provo
I hate code!
Profile
Posts: 5
Reg: Jun 29, 2012
Tongeren
1,350
like
12/23/13 11:06 AM (10 years ago)
When trying to process the results through php.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/23/13 11:44 AM (10 years ago)
Is your webform on the same https server? Also, what plugin are you using to view the page?
 
Maarten Provo
I hate code!
Profile
Posts: 5
Reg: Jun 29, 2012
Tongeren
1,350
like
12/25/13 09:56 AM (10 years ago)
No the webform is the Custom HTML plugin.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/25/13 12:29 PM (10 years ago)
What happens if you try to load the webform on your server, and view it (and the php resulting page) through the Custom URL plugin?
 
Maarten Provo
I hate code!
Profile
Posts: 5
Reg: Jun 29, 2012
Tongeren
1,350
like
12/26/13 08:56 AM (10 years ago)
It can't even display the page with the webform. The page is at https://www.maartenprovo.be/projects/form/Anamnese.html
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.