Posts by adrianosymphony • 568 points
18 posts
- 
		5 votes2 answers559 viewsQ: Regular Expression for passwordI’m trying to do a strong javascript password check. Initially I want to check if in the string there is the occurrence of 02 numbers in the following conditions: "12vvv": two consecutive numbers or… 
- 
		4 votes1 answer177 viewsQ: Readfile function by dropping PHP sessionI had a problem with file downlod, where the session was closed when several download occurred in a short time (less than 1 second) and the same did not occur when the download was slower. (This… phpasked adrianosymphony 568
- 
		1 votes0 answers79 viewsQ: File Download Ending PHP SessionI have a PHP file download system with login and session expiration in 30 minutes, at first I imagined that it was some logic error, but the system user is only dropped unexpectedly when he… 
- 
		3 votes1 answer222 viewsQ: Align div vertically in Internet Explorer 11I’m studying css and challenged myself to create a reproduction of an image that follows below: I was able to do something similar, but I could not work the same way in Internet Explorer, I saw some… 
- 
		0 votes1 answer2649 viewsA: Validate checkboxI created an example with validation only with javascript, but it is interesting to perform a check on the server as well. Below is the example link: http://jsbin.com/coredazoce/edit?html,js,output… 
- 
		4 votes1 answer1042 viewsA: Start php server with livereload with GulpAfter a few days I managed to solve my problem using Gulp-connect-php and browser-Sync in Gulp. The official documentation shows exactly an example how it is done. Look how it turned out my file… 
- 
		0 votes1 answer1042 viewsQ: Start php server with livereload with GulpI started my studies with Gulp and loved livereload, but I could only with static files like this link. My goal is to start Gulp, but on the built-in php server (localhost -s Localhost:8000) or on… 
- 
		0 votes1 answer894 viewsQ: Foreign key registration query with multiple occurrencesI am developing a system for storing documents for everyday use with PHP and mysql and for easy queries I added tags to these documentations and to ensure the integrity of the data I added another… 
- 
		2 votes2 answers303 viewsQ: Backing bind with JSF componentsI’m a beginner in Java EE and I’m using an e-book from Algaworks "Java EE 7, with JSF, Primefaces and CDI. Up to ManagedBean occurred normally, but when I started backing bean Java could not find… 
- 
		1 votes1 answer4690 viewsQ: Object as parameter in a Javascript functionI have looked in several places about the use of object as a parameter in a function, but only found on that website, but I didn’t feel comfortable with that structure. how best to put an object as… 
- 
		4 votes2 answers620 viewsQ: Validate xml file before updating databaseI have a file upload system that when sending the xml file it sends the insertions and updates in the database, but if a file with the different structure is sent I get errors. I have already found… 
- 
		4 votes3 answers1588 viewsA: How to filter data entries in PHPThere are ways and means to solve problems, I personally prefer to turn to PHP the right way when it comes to PHP, because in the language itself there are numerous solutions to everyday problems,… 
- 
		0 votes5 answers2474 viewsA: How to select a checkbox and recover data in the database?As you did not describe how the parameter will be sent to the database I left an example of how I would do to display the disabled input data. As an example, display the same input value. Below is… 
- 
		3 votes2 answers147 viewsQ: Reset jQuery events when sending a message to the userI am trying to send a message to the user using jQuery and hide it automatically after a few seconds. This procedure occurs perfectly unless the event occurs in less time than the time to hide the… jqueryasked adrianosymphony 568
- 
		2 votes1 answer135 viewsQ: include bootstrap in JsfiddleI’m a beginner in Jsfiddle and I’m not being able to use bootstrap, I already selected jquery, Html5, added bootstrap.min.css in External Resources and it didn’t work. I changed examples from the… 
- 
		1 votes0 answers541 viewsQ: DIV update after file uploadI am developing an upload system with jQuery Form, it worked perfectly the upload with the insertion of the data in mysql via PHP, but I tried to update a div with the contents of the files… 
- 
		3 votes1 answer1427 viewsQ: How to store values of a recursive function in an array?I tried to pass an array as a parameter, but returned only the first counter value. What is the correct way to return an array with all the values inside in a recursive function? Follow the function… phpasked adrianosymphony 568
- 
		8 votes2 answers405 viewsQ: Why is the route not recognized by Silex when there is a "/" bar at the end of the requested url?I’m starting my MVC studies with Silex today, but I’m having a hard time creating routes by accessing addresses containing a bar at the end. Example: http://site.com.br/home/ I already got access to…