Posts by Joao Paulo • 11,760 points
262 posts
-
2
votes3
answers8451
viewsQ: Problem with uploading large files in PHP
I’ve already set my site’s php settings to upload limit size (post_max_size and upload_max_filesize). I put 1 Giga as a precaution for testing. But when I try to upload a 30 megas file, the status…
-
6
votes6
answers5183
viewsQ: How to reverse the position of a div(and its content and attributes) with another div?
I wish to do this with jQuery, which is the most elegant way to do it? Assuming the following scenario, how would it look if I wanted to switch from position to div2 to div3? (I will not post my…
-
29
votes3
answers4056
viewsQ: How to get the value of the current percentage of an upload?
I’m working with PHP, but I imagine it can be done only with javascript/jQuery. When I upload the browser shows the percentage in the status bar. I would like to take this value and create from it a…
-
1
votes6
answers3652
viewsA: How to detect page encoding with PHP?
Based on the @Guerra response I was able to find the solution. My html page is with Charset UTF-8 set and my Mysql Database too. Which is strange because when the function detects the character as…
-
9
votes6
answers3652
viewsQ: How to detect page encoding with PHP?
I wanted to create a function that saved the data in the database encoding correct (my bank is UTF-8) according to the encoding detected. Is there a native PHP function to do this? Is there any…
-
3
votes1
answer215
viewsQ: I can’t hide an element with css by taking the data-column attribute
I have an input with the code below: <input type="search" class="filtro tablesorter-filter" placeholder="" data-column="1"> I’m using a css page to try to hide it: <style>…
-
5
votes4
answers18077
viewsQ: How to organize auto-increment numbering of a column Id of a table in Mysql?
I would like after each insert or delete from my table to use an SQL script to rearrange the Ids. It’s kind of like this now: Id Nome 1 João 3 José 5 Ricardo I want to leave it like this: Id Nome 1…
-
0
votes2
answers4407
viewsA: In SQL Server how to convert string uppercase part lowercase based on tab: ?
Below is a function created from the Edgar response, to only pass the string as parameter. CREATE FUNCTION FORMATAR_USUARIO(@STRING VARCHAR(1000)) RETURNS VARCHAR(1000) BEGIN RETURN…
-
5
votes2
answers4407
viewsQ: In SQL Server how to convert string uppercase part lowercase based on tab: ?
I need to make a script to convert all user records into a table in this format (single field): INFORMATICA\desenvolvedor ADMINISTRACAO\contador That is, before the uppercase bar and after the…
-
13
votes4
answers6431
viewsQ: How does the interaction between the layers in C# work and what is the function of each one?
Assuming a project with these layers: DAL, Controller, Negocio, Model and View I’m trying to learn C# seeing ready-made project codes, but not quite understood yet the correct order of creation and…
-
7
votes6
answers2089
viewsA: How to change the bottom lines of a table alternately? With support for older browsers
I found a way to do with jQuery that for me would be more suitable until by PHP: $( "tr:even" ).css( "background-color", "#bbf" ); $( "tr:odd" ).css( "background-color", "#fff" );…
-
6
votes6
answers2089
viewsQ: How to change the bottom lines of a table alternately? With support for older browsers
My table is created with a PHP loop. I do this by PHP even adding a condition or has some better shape? if ($nomSenha == 'xxxxxxxx') { echo '<table class="pesquisaClientes">'; echo…