sohil1
July 1, 2018, 11:14am
1
Hello,
I have tried to connect app to mysql database using php script as per https://puravidaapps.com/mysql.php
i have put php file on web server(public_html) directory, and run Mr Taifun’s aia file
but i have get error code 403
please help me on this error
thanks
actech
July 1, 2018, 11:36am
2
Hello,
This error indicates that you can not view the page or the entire site at the address you are requesting. Perhaps the php script needs to be placed in another site folder, where access to php scripts is allowed.
Try to get access to the script and the database from html first. To do this, create a test html page and open it in the browser.
sohil1
July 1, 2018, 11:54am
3
@actech Thanks for reply,
I can access php script through url in web browser, while i put same url in web1 component, it shows error 403.
these is the url :
http://baxomhealthcare.com/baxomsite/api/apidata.php?actval=view&tblname=employer
if i run above url through web browswe, it will show result, but If i put it on web component in thunkable, error 403 will shows.
any idea ?
actech
July 1, 2018, 11:57am
4
Do you have an error on Android in Thunkable Classic? In Thunkable X, everything is beautifully displayed in the Web Viewer component.
sohil1
July 1, 2018, 12:15pm
5
Sir,
I have used thunkable classic, Thunkable X also shows errer.
webviewer sussessfully shows all results, but how can i get it on text ?
So I used web component (Under connectivity ) to get its texts
these are blocks:
actech
July 1, 2018, 12:18pm
6
At me now your link even in the browser does not work therefore I can not check up. Can you give me a working link?
I worked with my php scripts through the Web API component. I did not notice the problems on iOS.
sohil1
July 1, 2018, 12:24pm
7
Sir, above mentioned link (http://baxomhealthcare.com/baxomsite/api/apidata.php?actval=view&tblname=employer )
is successfully run in browser, please check it once again
Thanks,
actech
July 1, 2018, 12:27pm
8
For me, this link does not work in browsers. It works only through a proxy browser. Do you use a paid web server or some kind of free?
Your link does not work for me in the Safari browser on iOS.
sohil1
July 1, 2018, 12:39pm
9
Thank you Sir for continuing answering my query
So are there any solution to connect database / php file with thunkable app ?
actech
July 1, 2018, 12:45pm
10
I worked with my php scripts through the Web API component in Thunkable X. There were no problems.
You have some difficulties with the web-server. If it is normal to send data, then there should be no problems with their use.
sohil1
July 1, 2018, 12:47pm
11
Sir,
Can I get aia file / blocks image that works fine with web server ? so i can make my block as per your block
Thanks
actech
July 1, 2018, 12:54pm
12
I did not work with databases in Thunkable Classic. Here is an example of working with a web server in Thunkable X.
https://x.thunkable.com/projects/5b24a233308ba938eb687ed6/project/properties/designer/
sorry,
a link go to the black screen
actech
July 6, 2018, 8:19am
14