Posts by Tiego Araujo • 41 points
3 posts
-
2
votes0
answers152
viewsQ: Calling Javascript file using Express
I have a main.js file with routes to html files, but I would also like to add a route to a javascript file. In the main.js file I have the following code. const express = require("express"); const…
-
1
votes2
answers495
viewsA: How to add multiple items in $paymentRequest->addItem?
You can’t add paymentRequest to a variable and then increment it? Using moip I had a similar situation and solved as follows: $order =…
phpanswered Tiego Araujo 41 -
1
votes0
answers313
viewsQ: PHP session expiring fast
My PHP sessions are expiring in a short time (5min), even using session_cache_expire(120), and would need it to be at least 2hours. I’m using a code similar to this: session_cache_expire(120);…
phpasked Tiego Araujo 41