Posts by Mike • 479 points
25 posts
-
0
votes1
answer24
viewsQ: How to reuse my . htaccess
I have the following file RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php I can access the page without the extension. I would…
-
0
votes0
answers63
viewsQ: Error getting input file value via jQuery
Guys, I’m having a hard time trying to get the value of input of the kind file via jQuery. Basically, I selected the input assigns him an event .click(), after that I try to get the value of input,…
-
1
votes0
answers488
viewsQ: Place next and Prev buttons in the Cycle plugin
Guys, I’m trying to put two img, one next and the other Prev on the slide image of the plugin Cycle, but even with position: absloute; both the image of next as that of Prev do not overlap the rest…
-
0
votes3
answers3932
viewsQ: How do you configure phpmyadmin on linux?
I gave one apt-get install phpmyadmin and linux did the installation in the folder etc; rode in the browser http://localhost/phpmyadmin and gave error 404. I changed and played the phpmyadmin folder…
-
0
votes3
answers50
viewsQ: Apache2 error on linux
Guys installed everything right on Linux, I played my folder in the directory www when I opened in the broswer I received the following warning: Access denied for user 'root@localhost' (using…
-
1
votes2
answers42
viewsQ: How to do with objects on a page at a certain width to group vertically?
Guys, I’m lined up a few div as columns inside another that serves as container. What I wanted to know is how do I make it in certain width of itself div or from the page they group together on top…
-
3
votes1
answer1909
viewsQ: How do I know if the browser scroll is near the height of the div?
I am trying to make the Divs that are hidden when they are at the same height (or near) of the browser scroll appear (individually) as fedeIn effect. Can someone help me with some idea?
-
2
votes1
answer207
viewsQ: How to restrict customers who receive messages with socket.io
Guys, how do I get this control on the socket.io. I’ll illustrate my situation: imagine I have a list of friends, how do I get my messages to reach only my friends and not all connected clients,…
-
2
votes1
answer46
viewsQ: Best way to add a lot of HTML to the page via JS?
Guys, I’m creating a small social network (one page) and I wanted to know how to add a lot of html to the page. I’ll explain better: I have a div call Timeline that serves as container and inside it…
-
2
votes2
answers1200
viewsQ: Only get a repeated value in mysql
Guys, I have a table and in it a field called cargo and what value it can repeat, as for example, the teaching position. In my HTML I’m riding a <select> When I recover the value of this…
-
2
votes1
answer1235
viewsQ: How to effect "Hover" in SVG icon?
How do I make an effect :hover on an SVG icon? Example: <!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> .agenda { fill: cyan; }…
-
0
votes1
answer46
viewsA: Nodejs: page not found
I solved the problem just by doing this var socket = io.connect('http:localhost:3000');
-
0
votes1
answer46
viewsQ: Nodejs: page not found
I was making my application, but when I update the page the browser returns me that the page is not available. I’ll post my code so you can tell me if there’s something wrong JS var http =…
-
2
votes1
answer81
viewsQ: Socket.io: module cannot be found
I was here "playing" with Socket.io, all working nicely, when I gave the command node app.js overnight Nodejs gives me an error (it was working before) Cannot find module 'socket.io' I looked for…
-
1
votes1
answer123
viewsQ: Does anyone know how to enable PDF export functionality in Datatables
I’m using the js Datatables plugin but don’t know how to activate the export functionality to PDF or Excel. Can anyone help me? From now on agardeço, att.
-
0
votes2
answers753
viewsQ: Insert HTML via jQuery (Chat)
Guys, I’m developing a chat room with Faye. Back-end normal. Fucionando perfectly, but I have silly problem: I can not insert the messages for viewing. I will explain better: When I retrieve the…
-
2
votes1
answer51
viewsQ: Error recover json on php side
Well, I’m sending a json to php but I can’t recover $.ajax({ type: "POST", url: "sys/salvar_servidor", datType: 'json', data: JSON.stringify(dados), success: function( data ){ document.write(data);…
-
2
votes4
answers1125
views -
10
votes3
answers20032
viewsQ: Error trying to install modules in Nodejs: "Error: Can’t find Python Executable "python", you can set the PYT HON env variable."
When I try to install the modules I need it returns me several errors at the time of installation (in this case I tried to install the socket.io): Microsoft Windows [versão 6.3.9600] (c) 2013…
-
2
votes3
answers2215
viewsQ: Nodejs NPM does not work
Guys, I installed Node normally and added it to the environment variable; I did some math operations to test and it worked. When I tried to install modules (socket.io and express) it did not work,…
-
6
votes1
answer954
viewsQ: Send data in json format to php
I know it is fully feasible to send PHP json to JS, but it is possible to send my data via ajax in json format to PHP?
-
1
votes1
answer125
viewsQ: Error 500 while using . htaccess
I rewrote a rule on .htaccess to remove the extension .php of my page dashboard.php but the WAMP get back to me: error 500…
-
0
votes3
answers10288
viewsA: How to know which select option has been selected
For the purpose of helping others, follow the full example: $(document).ready(function () { $('#formacao').change(function () { var es = document.getElementById('formacao'); esValor =…
-
3
votes3
answers10288
viewsQ: How to know which select option has been selected
I have a <select> and I need to know which <option> was selected. <select class="formacao"> <option>Ensino fundamental incompleto</option> <option>Ensino…
-
0
votes0
answers29
viewsQ: Email always falls into PHP spam box
Hello. Whenever I send an email with the function mail() PHP mail arrives in the SPAM box. How can I fix this?