I made a reg.php file and i tried that code on 2 hosts and on this one, is not working.
PDO is working fine here. Check this page for common issues: https://infinityfree.net/support/common-mysql-errors
If your issue is not on that list, can you at least describe what’s not working and what you see (error messages, etc.)?
@Admin said:
PDO is working fine here. Check this page for common issues: https://infinityfree.net/support/common-mysql-errorsIf your issue is not on that list, can you at least describe what’s not working and what you see (error messages, etc.)?
I tried to make an register system from my app, but the account is not saved in DB.
PHP Code:
https://pastebin.com/aQ7sGLpC
C# Code:
https://pastebin.com/TzFkMqcf
First of all, I’m not sure what you’re planning to do with the C# code, but you can only access the database from your hosting account. Remote access to the database is not supported.
If you upload the PHP script to our servers, does it work? If not, what do you see?
@Admin said:
First of all, I’m not sure what you’re planning to do with the C# code, but you can only access the database from your hosting account. Remote access to the database is not supported.If you upload the PHP script to our servers, does it work? If not, what do you see?
This is the error, and doesn’t matter if the host doesn’t support remote connections.
I tried the code and on others hosts, and there is working.
That’s not a database error, you see that page because whatever client you’re using does not execute Javascript.
We provide a free website hosting service. That means you’re supposed to use your hosting account to host a website, which is visited by real people. Complex applications and API services are not supported on free hosting, you need to upgrade your account for that.
@Admin said:
That’s not a database error, you see that page because whatever client you’re using does not execute Javascript.We provide a free website hosting service. That means you’re supposed to use your hosting account to host a website, which is visited by real people. Complex applications and API services are not supported on free hosting, you need to upgrade your account for that.
Ok, Thnaks