I have created a reserver using the Slim Framework (PHP), connecting to a MySQL DB. You are on a dedicated server with moderate performance, ie the response is very fast.
But I did a test app in IOS where I consult this api and mount a table...
I have a server with a presentation portfolio done in html, css and javascript. All files in this portfolio are in the public_html folder and can be accessed by the server address 'server.com/'. However I developed a system in PHP and put it in...
I'm building a API where I register animals and colors and get animals in return, I'm using Doctrine to treat entities and I've created a many-to-many relationship between animals and colors.
/**
* @Entity @Table(name="Animais")...
How can I create a decimal type in Phinx Migration, see how it is currently:
$oss->addColumn('valor','decimal', ['limit' => 10.2]);
I have tried in many ways and I can not, it always generates only 10.0.
Hello. I need to test the magic methods in PHP UNIT.
I'm using the Slim Framework framework
What are they?
__set()
__get()
__construct()
__invoke()
handle()
I'm trying to follow the slim slim tutorial, but it always gives page not found when access localhost: 8080 / hello / alan.
I'm using iis 10. I installed url rewrite 2.0, and my web.config looks like this:
<?xml version="1.0" encoding="...
I'm using JWT to do access authentication. When I try to get a GET request from outside my system, it displays this message:
codesnippetwhereImaketherequest(js):[...]varcep=this.soNumero(this.state.cep);varcepUrl='https://viacep.com.br/ws/'+...
It's the following, so I realized the whole project follows the MVC Standard.
I just have a big problem. The view of orders there is a simple refresh of 30 seconds, searching for new orders. So good!
The problem happens every day at 9:00 PM,...
As I can set up a project I can add css, js, and bootstrap files in the slim framework, I used the slim / skeleton project, but I can not get my css and js files without the need to add a long ex (c : \ xampp \ htdocs \ project \ template \ asse...
I'm having trouble sending a photo and a json by postman on the same request.
Ineedtosendtheprofilepictureoftheuserandatthesametimereceiveajsonwiththedataofthesame.//InstânciadaentidadeLogin$login=newLogin();//recuperandooparâmetroobjetologindo...