Posts by rengaw • 25 points
10 posts
-
0
votes1
answer33
viewsA: PULL THE NUMBER OF THE DATABASE RESULT
Hello, good afternoon! First of all, what mistake are you making? Whenever you post some code, and it brings you an error, put it in the question, often the solution is in Error. Do it this way and…
-
0
votes2
answers814
viewsA: Simulate Automatic Click when loading HTML page
Just call the click() javascript To execute the call when loading the page, it must be called inside the event window.onload Example: window.onload = function() {…
javascriptanswered rengaw 25 -
0
votes1
answer41
viewsA: Load php file with jquery
Hello, good night! So this is not actually a MISTAKE, but a warning from Attention, you are probably using a version PHP that does not accept but the definition of constants in this way. Current…
-
0
votes1
answer24
viewsA: How to handle special characters when entering data into a php+mysql database
Hello, how are you? So, let’s do the following, let’s inform you what the charset Mysql must use for the current connection, we will do it as follows: mysql_set_charset("utf8"); After your…
-
1
votes2
answers33
viewsA: Forwarding of domains
Hello, good night! So colleague, I believe with mod_rewrite, the correct form would be like this: RewriteEngine on RewriteCond %{HTTP_HOST} ^dominioantigo.com.br$ [OR] RewriteCond %{HTTP_HOST}…
-
0
votes1
answer80
views -
0
votes0
answers43
viewsQ: Schedule Deletion of Record
Hello, how are you? All right? I’ll explain my situation and already show you what I have, come on: So, I need to schedule the deletion of a data from SQL, I have a system that publishes polls, in…
-
0
votes1
answer50
viewsQ: Value placed in "define()" is not displayed correctly
Well personal, I am writing a system of "versioning", I have a class that collects and compares some information. In index of my project I pass the current version of the system and in the…
-
0
votes1
answer158
viewsA: Turn HTACCESS into Web.Config
Well I’ll post the solution in case I help someone bad, my method was this. <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules>…
-
-3
votes1
answer158
viewsQ: Turn HTACCESS into Web.Config
I would like to ask for help to export this HTACCESS (linux) for Web.Config (Windows) RewriteEngine on RewriteCond %{REQUEST_URI} !^/admincp/$ [NC] RewriteRule…