Posts by Marcus Vinicius Tavares • 11 points
7 posts
-
0
votes1
answer338
viewsA: It is not possible to display line breaking strings in Node.js
After many tests I discovered that every line break in php is received by $output as an array. echo at $exec only picks up the last line break. This way to display the content was just using a…
node.jsanswered Marcus Vinicius Tavares 11 -
0
votes1
answer338
viewsQ: It is not possible to display line breaking strings in Node.js
I need to work with css in a js script for nodejs. However, if css has any line breaks the console.log does not work. const fs = require('fs'); var contents =…
node.jsasked Marcus Vinicius Tavares 11 -
0
votes1
answer48
viewsQ: Creating mkdir folder via PHP is not accessible via FTP
I am on an Apache/2.2.22 (Debian) server, and when creating an image upload folder for example the folder is totally inaccessible via FTP. No way to delete or even enter the folder. $folder_name =…
-
0
votes0
answers96
viewsQ: Make two or more Select with Aliases in the query to generate a separate array
I have a single column table with all the words in English. I want to do a double or triple Select and recover in each query all words with 'A' in alias Palavrascoma, and all with 'B' in Alias…
-
1
votes1
answer158
viewsQ: How to Make two or more Select categorized in the same query
I need to take all words with 'A' and play 'Palavrascoma' and all words with 'B' and play Palavrascomb, and can have C, D E... The closest so far was that, but only with the first. SELECT w1.wd as…
-
0
votes1
answer119
viewsA: How to release a URL and Query String level with or without via . htaccess and others have an error 404?
Solved with the following code: RewriteEngine On RewriteRule %{REQUEST_FILENAME} !-f RewriteRule %{REQUEST_FILENAME} !-d RewriteRule ^(.[a-z0-9-]+/?)$ index.php?piada=$1 [QSA,L,NC]…
-
0
votes1
answer119
viewsQ: How to release a URL and Query String level with or without via . htaccess and others have an error 404?
With . htaccess I need to release a url level to block the others with error 404 being: /example (can) /example/ (can) /example/anything (can’t) RewriteEngine On RewriteRule %{REQUEST_FILENAME} !-f…