Posts by Ericks Rodrigues • 130 points
9 posts
-
0
votes1
answer126
viewsQ: How to port a Javascript Web server to a Windows executable?
I am new to Node.js, and developed a server using express to send files between computers on the same network, but I can only start the server on the computer that will receive the file if it has…
-
0
votes1
answer197
viewsQ: HTML snippet as parameter of a javascript function
I have little knowledge of javascript, how can I pass a code embedding some video in a function as a string? <a href="javascript:void(0)" onclick="exibirVideo('CODIGO DE EMBED AQUI')"> I’m…
-
1
votes2
answers116
viewsA: pull site structure through database
It is not necessary to use database, just use include or include_once, which aims in php to "bring the text of another file" to the page where include was used. Then you can take those files that…
-
0
votes0
answers75
viewsQ: Load a page content just by clicking
How do I make a content to be displayed within a page, and that both the display and loading of that content occurs only by clicking on a link (without loading the full page, only the element I…
-
1
votes3
answers418
viewsA: Is it possible to keep an object in a session variable?
Hello, I did it some time ago and at the moment I have no way to test, if I’m not mistaken you should use the functions serialize() and unserialize() By assigning the superglobal:…
-
1
votes1
answer123
viewsA: Identifying a person through rules (MI)
Hello, if you have a table referring to people’s data you can try using a decision tree, is a technique that you use as a base table to form a tree (this will be responsible for the intelligence of…
-
2
votes1
answer119
viewsQ: Is it possible to implement an abstract class in PHP without the need for inheritance as in Java?
It is possible to perform the class instance in PHP "in the same way" CachorroAbstract in the method main down below: public abstract class CachorroAbstract { public abstract void latir(); } public…
-
1
votes1
answer432
viewsA: Insert php with object as parameter
Hey, good night, man. I’m a beginner in php, and I don’t use mysqli either (I’m using PDO), $pdo = new PDO("mysql:host=localhost;dbname=nome_banco", "usuario_banco", "senha_banco"); $insert =…
-
5
votes1
answer157
viewsQ: How to create a page that has different information for each type of user?
is my first question here at the Stack overflow. Well, I would like to know how to structure a php page to display different information to different users, because I don’t want to have more than…