Posts by Alex • 1,654 points
77 posts
-
-3
votes1
answer44
viewsQ: Hence, trademark rights
Well, many of you may think that this is not the place to post this, I thought that some time ago, but come on. I’m a programmer, I make websites, and I haven’t attended any copyright courses yet. I…
-
4
votes1
answer212
views -
0
votes1
answer235
viewsQ: Maximum number of rows of a Mysql import
Well, I am making the import that contains all my databases, because I switched from computer, I exported from old and I want to import to new, but when importing I get an error: "tempo limite…
-
2
votes1
answer1888
viewsQ: Forbidden 403 apache2 on Ubuntu
Well this is the mistake I’m having with my apache. I changed my apache directory to: /media/marcelo/Arquivos/Google Drive/localhost and this directory has 777 permission. Forbidden You don't have…
-
-1
votes1
answer1952
viewsQ: 'phonegap/Cordova' is not recognized as an internal command
'phonegap/Cordova' is not recognized as an internal or external command, a operable program, or a batch file. I was with this error and was breaking my head, I will share to those who are having…
-
-1
votes1
answer1952
viewsA: 'phonegap/Cordova' is not recognized as an internal command
Configuring the development variables If you are with this error, seven development variables. Right-click on computador -> propriedades -> configurações avançadas... -> variáveis de…
-
0
votes1
answer439
viewsQ: How to do an exact/precise split or subtraction in PHP
I’m having trouble making an exact calculation in PHP, note. $selic = 0,96; $ipca = 0,42; bcscale(10); $sub = bcsub($selic, $ipca); //Retona: 0.54000000 // ou $sub = $selic - $ipca; //Retorna: 0.54…
-
2
votes2
answers763
viewsA: Get Json data from php
If you want to get the minimum and maximum today do this! //para pegar as temperaturas use o objeto: $obj->results->forecast $json =…
-
2
votes2
answers3155
viewsQ: How can I know if a font is free for use, even commercial
I’m starting to want to make icons, but I want to do it the right way. I have a question. How can I know if a font is available for general use. I don’t even know if this is the place to post it,…
-
0
votes2
answers99
viewsA: Formula values do not match
Solution https://money.stackexchange.com/a/16517 The future value of the payment is made, and then the future value passed (previous line, or previous iterator). Future value of payment <ul>…
-
0
votes2
answers99
viewsQ: Formula values do not match
I’m trying to do the Excel formula VF(future value) in PHP, but the values are not matching, IE, in Excel is a value for the column and in the calculation of PHP come out other values but almost…
-
0
votes1
answer51
viewsQ: Multiple automatic wheres
I was seeing in the CodeIgniter that there is a way to insert several 'Where' into the class DB: Example: $this->db->where('id', 1) ->where('name', 'Jão') ->where('lastname',…
-
0
votes1
answer44
viewsA: Problem to perform require of a file
After a while I spent here, had already solved, but I will put the answer to those who have not found solution yet. define('BASE_URL', 'http://localhost/imob/'); //este funciona…
-
2
votes2
answers1410
viewsQ: Alternative to Mysql Workbench
Well, I currently use Mysql Workbench software to do my scripts, wanted a lighter program, someone knows/could pass me some alternatives? I don’t want PHPMYADMIN Note: I develop with PHP - I don’t…
-
2
votes1
answer4709
viewsA: Modal is not giving scroll
.modalDialog { /*Insira o código debaixo de tudo*/ overflow: scroll; } See if you can!
-
0
votes0
answers136
views -
3
votes2
answers906
viewsQ: What’s the best way to call files?
Well, I use codeigniter (but not specifically in it, anyone who is MVC). I wanted to know the best way to call my files, css, js, fonts, etc. I think the best way is to call in the controller…
-
2
votes1
answer687
viewsQ: Git, upload code directly to the server
I wanted to know if it is possible a way to leave all my projects online so that I don’t keep modifying my code to upload it to the server. Go some questions: I use git, wanted to use a branch for…
-
1
votes3
answers906
viewsQ: Format date on page load
Hello I wanted to format the date of my form on the page loading, because the date is coming from the database in international format (yyyy-mm-dd). I did this function to format my date, however I…
-
0
votes3
answers107
views -
1
votes3
answers2989
viewsA: Make field mandatory depending on response
var camp1 = $('campo1'); var camp2 = $('campo1'); if(camp1.val() == 1){ camp2.attr('required', true); } You can use getElementById var camp1 = getElementById('#camp1'); var camp2 =…
-
1
votes2
answers91
viewsA: How to change option from JSON return
$.post('destino.php', {data:'data'}, function(response){ $('#modalidade-frete').val(response.valor_desejado_para_o_option); }, "json"); [In response to your comment @luccasrodrigo]…
-
1
votes4
answers1052
viewsA: How to mount 3-column CSS mosaic?
I made inline to facilitate. Portrait: <div class="container1" style="width:50%;height:100px; float:left;"> <img src="img1" style="heigth:50%;width:100%;"> <img src="img2"…
-
3
votes2
answers1096
viewsA: UTF8 on Mysql PHP connection
//observe o charset=utf8 na DSN try { $dbh1 = new PDO("mysql:host=$host;dbname=$database1;charset=utf8", $user, $password); } catch(PDOException $e) { die('Could not connect…
-
1
votes2
answers185
viewsA: How to send form data via _SESSION?
Cara I recommend using Ajax with Jquery, function $.post(), it is more "beautiful", if you do not want to use, do the following, give the action of formula1.php to formula2.php. Within your…
-
0
votes1
answer118
viewsA: Error install Awesome Font plugin
I think you did everything but did not install the fonts. Create a folder called fonts/ and a css call/ place the font-awesome.min.css inside css/ and put fonts inside fonts/ - It will be +/- like…
-
0
votes1
answer44
viewsQ: Problem to perform require of a file
This is my error and code respectively. I can do include in other files, only in config.php that not! Someone has a solution? NOTE: It is worth mentioning that I already tried to take out the '.;'…