Questions tagged as 'back-end'

1
answer

Error creating a file with fopen

When trying to create a JSON file with fopen me, a permission error is returned with the following message:   Warning: fopen (/json/9.json): failed to open stream: No such file or directory in C: \ xampp \ htdocs \ apil \ Controllers \...
asked by 20.09.2018 / 15:36
1
answer

Controllers and Routes in node js

I wonder if it makes any difference between using only routes , or routes with controllers in node js could someone give me some examples of how to implement routes and controllers on the node using express js ?     
asked by 22.06.2017 / 22:12
2
answers

Express how to make a div appear only if the user is logged in?

Well, I just registered on my site and I would like it when the user logs in the login and registration links disappeared and in place a div with a drop down menu showing links to my account, logout etc. appears. What should I use in this div? I...
asked by 18.07.2017 / 02:55
1
answer

Can I create an application entirely with JavaScript?

I'm new to the development area (by the way, I'm not even in the area yet). I'd like to know if it's possible to integrate back and front-end entirely with Javascript pure . Because I believe that if I can ensure in pure JavaScript, I can l...
asked by 17.06.2018 / 19:47
1
answer

Random selections with PHP and MySQL

Is there any way to make random selects with php and mysql. Example: I have the table carreta_furacao: id----nome 1----Fofão 2----Capitão América 3----Popeye 4----Mickey 5----Palhaço 2 - In PHP I make a random select * 3- Ret...
asked by 08.06.2016 / 20:17
1
answer

req.session on node.js

I would like to know how the basic operation of the req.session structure of Node.js. Is it native to Express or Express-Session? Please help me understand more about sessions.     
asked by 28.08.2015 / 14:43
0
answers

Is it correct to mix PHP code with HTML? [duplicate]

I'm restarting my studies in IT and I have this doubt. In the course I'm doing the examples show the php code mixed and inserted into the html code. Is this really what works in practice? I have a flea behind my ear telling me this is not good...
asked by 28.02.2018 / 19:04
0
answers

Api returns the data correctly when requested by localhost but not by ip

Yesterday I did this question :    I made a REST api, using Laravel , for an application that   I am doing, to carry out the requisition tests I created a VM   where is the api.       Assign a fixed ip to this VM and disable the firewall t...
asked by 14.11.2017 / 16:44
0
answers

RSS images do not appear on Wordpress

I'm trying to pull an RSS from another site wordpress , to mine which is also wordpress . Written content appears normal, but thumbnail does not appear. Can someone tell me if it is possible to list 2 posts from another wordpress site...
asked by 06.11.2015 / 20:13
1
answer

Is there a back-end service that responds to SMS messages?

I'm doing a search on operations that involve back-end communication that uses SMS messages to interact with users. I could not find something relevant on Google that clearly explains how this service works. Anyone know where to start clearly...
asked by 27.03.2015 / 08:00