Posts by Ricardo • 14,521 points
350 posts
-
1
votes1
answer276
viewsQ: Concatenate two strings superimposing their intersection substrings
How to insert the string listing.php?genre=sports&page=1&order=score at the end of the string http://www.playnow3dgames.com/listing.php?genre=sports&order=date blowing the inter…
-
2
votes1
answer3185
viewsQ: How to Treat a Fatal Error
How to catch a fatal error so that it does not terminate the application? This should be limited to only one part of the code (this will not pose risks to the application)? Example: I would like all…
-
17
votes1
answer659
viewsQ: What is the function of '@' (arroba) at the beginning of PHP expressions
What is the function of @ at the beginning of PHP expressions? I have seen in some classes and could not get the function to put this @ at first.
-
1
votes1
answer127
viewsQ: Crawler for when http_status_code is different from 200
I’m making a mini Crawler in . php using a library called "Phpcrawl" to do the Crawler function and the "simple_html_dom_parser" library to parse the html. The question is: simple_html_dom cannot…
-
1
votes2
answers39475
viewsA: Image alignment to the right of the div in Bootstrap
Use the class pull-right in the div/img you want to put right or directly in css float:right Example: <div class="telefone text-right"> <img src="imagens/telefone.png" class="img-responsive…
-
1
votes1
answer76
viewsQ: Avoid Overloading of attributes when using magic methods
I have the following PHP class: <?php class User{ private $email = null; private $pass = null; public function __set($atrib, $value){ $this->$atrib = $value; } public function __get($atrib){…
-
4
votes1
answer3803
views -
2
votes1
answer276
viewsQ: header using relative address and " .. / " does not work
How do I header a page that is one level up, e.g.: I have the following directory tree, I want to header from validarLogin.php to welcomePage.php? I tried using a .. / to access the views folder and…
-
0
votes2
answers1783
viewsQ: Dropdown with navbar bootstrap images
I’m having a problem disposing a dropdown of images in bootstrap, dropdown this that is inside a navbar html code: <nav class="navbar navbar-default navbar-fixed-top"…
-
1
votes3
answers165
viewsA: Catching value created at runtime
Instead of using regular expressions you could use the resources of this library Simple HTML DOM, with it is very simple to scan the html see an example of the manual itself: // Create DOM from URL…
-
4
votes1
answer97
viewsQ: Different ways of exposing data
It is wrong to expose data and actions that should (inputs, and buttons) be made on these data in tables? Example in the figure below this being displayed data and actions that should (inputs, and…
-
6
votes2
answers145
viewsQ: Is it necessary to use metatags on administration pages?
It is necessary to have the meta-tags "Description", "Keywords" on site administration pages, as these will not be indexed?
-
2
votes1
answer179
viewsQ: Is it possible to inject cookies through a website?
Suppose the following situation: When accessing a site (technology forum), this site would inject cookies so that when I access another site (store selling products), it would account for this visit…
-
1
votes4
answers1215
viewsA: How to make an HTML list searchable
If you have the links in a JSON for example or can import them from the bank, you can use the JQuery Autocomplete: $(function() { var availableTags = [ "ActionScript", "AppleScript", "Asp", "BASIC",…
-
1
votes0
answers208
viewsQ: Dropdown button bootstrap Error
The Down Arrow that marks the dropdown of the button present in the navbar is uneven in size to the size of the button. See in the image below (Blue Button) Navbar code: <nav class="navbar…
-
2
votes2
answers660
viewsQ: Print associative array element inside string without concatenation
I have to print out a tag HTML via a echo with the value of a array associative, however I can’t make it print to be concatenative use. Code .php (this way is not working, I believe by the quotes…
-
1
votes1
answer167
viewsQ: Place paging inside the footer
I created a code. php that queries the bank and returns the results by printing them on the screen, also prints a pagination, would like to print this page inside a footer tag but without having to…
-
1
votes1
answer63
viewsQ: Result of strange serialize
I did a serialization of an object in .php whose result is very different from the ordinary: example.com/script.php? first name=joao&last…
-
1
votes1
answer255
viewsQ: Directly manipulate $_GET and $_POST variables
I have an application that will work with a large amount of data to be manipulated and stored in a database, so it is indicated to store the values present in variables $_GET and $_POST in…
-
6
votes4
answers53244
viewsQ: Different ways to count record numbers in Mysql
There’s a difference in performance if you do: //seleciona todos os itens da tabela $cmd = "SELECT * FROM produtos"; $produtos = mysql_query($cmd); //conta o total de itens $total =…
-
0
votes1
answer2430
viewsQ: Align the top of Divs (Bootstrap)
Hello I have a page where your blocks(blue and red border)(of different size) stay with the uneven top, how could solve this problem? Imagery: Respective HTML code: <div class="row"> <div…
-
1
votes2
answers469
viewsQ: Inject results and pagination into an html
I have two pages made in html a call index.html where the user type a product name (eg Lapis) and the result is displayed on a different page and as the result of the query can be very large…
-
3
votes2
answers782
viewsQ: Inserting HTML blocks into HTML document using PHP
I have an HTML interface that should render the query results in the database (PHP+PDO(MYSQL)) how do I inject the results dynamically into the HTML (pure) screen? as queries vary from user to user…
-
1
votes2
answers1145
viewsQ: Change Hidden field in form
I have two Hidden fields inside a form they must store the values of a radio button and the selected checkboxes (150 checkboxes), I was able to make the first Hidden field load the value of the…
-
2
votes1
answer1301
viewsQ: PHP generate confirmation Pop-Up
I have a php code that makes insertions in the database, data that came through forms, how is it possible to return a message through a pop-up to the user informing him if there was success or not…
-
1
votes2
answers2487
viewsQ: Render HTML using PHP
This question is very large and can be answered multiple times but I did not get answers in a discussion forum. I would like to know how to build the following page using PHP (but I built using…
-
1
votes2
answers1421
viewsQ: Center vertically on a <span>
How can I vertically center a tag (Top countries) with the form? Code: <div class="wrapper" role="main"><!-- START Content --> <div class="container"><!--- START Site Content…
-
12
votes2
answers189
viewsQ: Are libraries downloaded multiple times?
I have an application that uses 3 libraries (Bootstrap, jQuery, jQueryUI) on 10 different pages. Browsers cache libraries?
-
0
votes1
answer527
viewsQ: jQuery multiple word autocomplete
Using the following javascript code $.getJSON("../JSON/TAGS.json", function(tags) { var tagsArray = []; for(var i=0; i<tags.length; i++){ tagsArray.push(tags[i].tag); } function split( val ) {…
-
1
votes1
answer153
viewsQ: Two Forms working on the same resultset
How is it done to have two Formulars working on the same resultset? Taking as an example youtube search (see below) In Red the default search where the user places the query and clicks on the form…
-
3
votes2
answers1012
viewsQ: Does using a virtual keyboard help security?
Does the use of virtual keyboards (similar to Google’s search) prevent typed data from being collected by Keyloggers? If yes there is a virtual keyboard that can indicate?
-
-2
votes1
answer142
viewsQ: Graphic Effects in Javascript Validation
What is this validation effect/libraryJS where the validation is performed at each field fill and returned the inconsistencies immediately and displays floating information like this used by the…
-
1
votes1
answer322
viewsQ: Affix(Bootstrap) in div with images does not work
I’m trying to fix a div containing two images (one below the other) but following examples and making some modifications the result was very different from expected, when I go scrolling on the page…
-
1
votes1
answer9778
viewsQ: Tag <p> rendering Line Break (no <br />)
I’m making a Bootstrap interface containing in its contents a tag involving a text and soon noticed that each line break given with enter in the Notepad++ (IDE used) the text rendered in the borwser…
-
2
votes1
answer577
viewsQ: For external or internal HTML performance (Bootstrap-Modal)
I am building a page which will be accessed by a considerable amount of users (5 thousand/day) and as some hosting services charge per mass of data transferred others for the amount of requests,…
-
0
votes1
answer471
viewsA: Datepicker (Bootstrap) works with Online libs but not with Offline
You have to put the javascript libraries: Jquery, bootstrap and datepicker (in the same order) in the head tag, and change the relative addresses to the localhost/.../.../jquery address (in my…
-
0
votes1
answer471
viewsQ: Datepicker (Bootstrap) works with Online libs but not with Offline
I have developed an application that uses 3 jquery-1.11.1.min. js, bootstrap.min.js, bootstrap-datepicker.js, this application works using the libraries purchased online (src="htt://") but when I…
-
1
votes1
answer98
viewsQ: Build Opencvblobslib in Windows Environment
How to run the Opencvblobslib bilioteca compilation in Microsoft Visual Studio 2013 (works in previous versions)
-
2
votes1
answer98
viewsA: Build Opencvblobslib in Windows Environment
Step by step (I put this tutorial in github issues but it was closed) I downloaded cvBlobslib (https://github.com/OpenCVBlobsLib/opencvblobslib) Create an empty project in Visual Studio 2013 Put the…
-
2
votes1
answer1835
viewsQ: Menu of Country Selection
Is there a component present in Bootstrap 3.3.1 (I don’t think so) that generates a select from all countries? or a plugin? because I am currently using a list with pure HTML that this gigantic,…
twitter-bootstrapasked Ricardo 14,521 -
8
votes4
answers37912
viewsQ: Center vertically div container on Bootstrap page
I’m having trouble centralizing À Pagina because centralizing both sides has already been accomplished, I’ve added several classes and attributes in the tag style but I did not succeed, and to…
twitter-bootstrapasked Ricardo 14,521 -
5
votes1
answer17770
viewsQ: Align Submit button along with Bootstrap input
I have the following code that uses bootstrap 3 consisting of an input and a Submit button. Currently the button is below the input, but I want it to be aligned laterally with the input. I have seen…
twitter-bootstrapasked Ricardo 14,521 -
8
votes1
answer641
viewsQ: SQL using an Array of words
Is the following I have a search field in a form where the user type for example a color or product and is returned to it a list of products with the characteristics typed in the form, the problem…
-
0
votes1
answer6928
viewsQ: Position content within Navbar Bootstrap
I am using and remodeling a navbar whose template is made by the Bootstrap site itself but after making insertions of the classes I thought able to position the objects noticed that they were not…
-
5
votes1
answer118
viewsQ: Distinguish forms within PHP
There is a way to distinguish forms within PHP, since I want every form to be sent to the same function as it will be in charge of passing the $_GET the proper function capable of verifying the…
-
3
votes1
answer5118
viewsQ: Define relationship between tables in Mysql
Today I needed to create a table that had a purpose similar to Add the Netflix queue where are saved the movies that the user wants to see (in the application would be stored the urls videos and…
-
8
votes3
answers1629
viewsQ: Multiple connections with the Bank
In a PHP system that communicates with the BD (Mysql) to recover the information and returns it to the user who accesses it is necessary to establish multiple connections with the Bank? Or just one?…
-
2
votes2
answers697
viewsQ: Attribute "Multiple" of <select> tag does not work
Attribute multiple tag <select> does not work, it is only possible to select a single option. I am using Chrome. <h4>From</h4> <div> <select name="sites-list" size="7"…
-
3
votes1
answer736
viewsQ: PHP using $_GET
I am analyzing an example code (Tpage.class.php, from the ojetos-oriented PHP book, Link Classe), which works according to the parameters passed in the URL, if ($_GET)//Verifica se foi passado algo…
-
2
votes1
answer866
viewsQ: Can I call one program inside another?
I want to connect one program inside the other because I have a project (main, 7 Classes) in C++/Opencv that should call a program also in C++/integrated with Tesseract, pass and receive an Object…