Posts by Augusto Furlan • 1,155 points
69 posts
-
0
votes1
answer277
viewsQ: Datatable Angular Js Problem
I’m trying to use the Managed datatable. In my controller I have the following function : angular.module('MetronicApp').controller('OperatorsController', function ($rootScope, $scope, $http,…
-
1
votes0
answers59
viewsQ: PHP - Std::Class error
I have the following code: case 'operator-autentication': global $decoded; $array = array(); $user = $decoded->user; $pass = $decoded->pass; $opr = new opr_func(); $arrResp =…
-
0
votes0
answers115
viewsQ: Ionic 2 network.type = null
I am developing an application in Ionic 2 ts, but when I try to check if it is connected on the internet it returns null. My code import { Network } from '@ionic-native/network'; @Component({…
-
0
votes1
answer297
viewsQ: Ionic - request api php
Guys I’m trying to make a request will post on a php api, it returns me Undefined. My predecessor: import { Injectable } from '@angular/core'; import { Http } from '@angular/http'; import…
-
1
votes1
answer34
viewsQ: Google Charts with code on body to request
Guys someone has already used goolecharts ? I can only make the plot if it is in the head, how do I make his code stay in the body ? 'Cause I want to plot via a request
-
0
votes1
answer86
viewsQ: Angular JS error var Undefined
Good night have that function https://pastebin.com/mZB1KtnS if I give an Alert(date); inside the function (below the date) ok, but I invoke the function in the Undefined controller. How can I fix…
angularjsasked Augusto Furlan 1,155 -
0
votes2
answers74
viewsQ: Angularjs - request Does not pass parameter
My code is this, but in php code I do not receive the ref parameter... What can be ? $http({ method: 'POST', url: '../assets/php/client/PHP.php', data: {ref: 'dataTableLoad'} }).then(function…
-
1
votes1
answer72
viewsQ: AWS : Error installing php Myadmin
People installing phpmyadmin installed everything ok, however it gave problem when accessing the ip/phpmyadmin of the error : The mbstring extension is missing. Please check your PHP configuration.…
-
0
votes1
answer947
viewsQ: Angular form Ubmit
I am using the metronic with angular and I have the controller all right, however I tried to create a function that displays the user typed in a field in an Alert (in the future I will filter)...…
-
0
votes2
answers1804
viewsQ: Php connected with SQL Server
How can I connect php to sqlserver (Pdo)? It seems simple, but I’m not getting... I’ve enabled the driver all ok Attached is the name of the server, I will run in place ...…
-
1
votes1
answer679
viewsQ: PHP PDO Microsoft SQL SERVER
Personal I have this class that connects with mysql database, how can I use to connect to microsoft SQL Server ? <?php abstract class database { /* Método construtor do banco de dados */ private…
-
0
votes2
answers182
viewsQ: Ionic 2 Reading json
Personal I’m trying to read a json on Ionic, I created the service as follows : http://pastebin.com/0btbuC83 my class is like this : http://pastebin.com/6gdpBth4 and my json is like this :…
-
0
votes1
answer169
viewsQ: Ionic 2 http request error
I need to request a webserver in Ionic 2 and I have the following code : constructor(private navController: NavController, public http: Http) { var url = 'http://localhost/APIPortManager/teste.php';…
-
1
votes1
answer241
viewsQ: PHP - know offset error
Is there a variable that shows if there is an offset error in php, but without displaying on the screen ? like a function that evaluates ? Thank you
phpasked Augusto Furlan 1,155 -
0
votes1
answer527
viewsQ: Request HTTP Ionic 2 GET
Good afternoon guys, use Ionic 2 and how can I make a request get (without Provider nd only in class ts)? I just need you to take what’s written on the page and display on an Alert. How can I do…
-
3
votes1
answer1532
viewsQ: Foreach to head office
I have a matrix and I need to know how to do the foreach and know the total size of the matrix. $matriz = array(); $matriz[0][1] = '01'; $matriz[0][2] = '02'; $matriz[1][1] = '11'; $matriz[1][2] =…
phpasked Augusto Furlan 1,155 -
1
votes2
answers308
viewsQ: Show Map with point Ionic 2
Personal use Ionic 2 beta in a project with ts, has the coordinates of a point, I wonder how I can put the map with the current position of the user and a marker in the saved coordinates. How can I…
-
4
votes2
answers2001
viewsQ: Python Basic Request
How can I make a basic Python request to a Webserver ? I’m trying, but without success. Desire in get, in the simplest way.
-
0
votes0
answers2078
viewsQ: ngModel with variable value
Use Ionic 2, I need ngmodel to have a value of a class variable, but error when placing in view, follow my code: viiew <ion-navbar *navbar> <ion-title> POSimplex </ion-title>…
-
3
votes1
answer1135
viewsQ: Ionic2 add element in view
I need to create a click event that when pressed creates an input in the view. How can I do that? Thank you Ps: ionic2 typescript use HTML <ion-navbar *navbar> <ion-title> POSimplex…
-
0
votes3
answers717
viewsA: How to list files in a directory?
I solved the problem of autoload, I will answer my own question, because if anyone else needs it can use ... function autoLoad() { blockAutoLoad('class/'); // invoca metodo de autoload } function…
-
1
votes3
answers717
viewsQ: How to list files in a directory?
I use the following code : $path = 'pasta_desejada'; $dir = new DirectoryIterator($path); foreach ($dir as $fileInfo) { $ext = strtolower( $fileInfo->getExtension() ); if( in_array( $ext, $types…
-
0
votes0
answers281
viewsQ: Ionic file sending
Guys I’m developing an Ionic app where I want to send a file (actually a photo ), this type of request I tried on get, but it didn’t work... How can I fix ? (The problem is sending via get ? My php…
-
2
votes2
answers122
viewsA: Get higher and lower id with status = 1
Friend only with php is not possible, you have to use mysql. Good, but I believe that’s already used. Do the following : in select put Where status = 1 and add a clause in the select order by id…
-
1
votes2
answers842
viewsQ: Error: No supported Encrypter found. The Cipher and / or key length are invalid
Personal I am using Laravel 5.2 and went to perform an authentication, but when I run the command php artisan make:auth works perfectly, but in practice does not... When I click on login or Register…
-
1
votes2
answers2148
viewsQ: API facial recognition
Guys I’m looking to work on a system for my TCC with facial recognition. Is there an API that does this for me? Could be any language. Thank you.
-
0
votes2
answers98
viewsQ: Send querystring in a PHP request
I need to access a page that has a predetermined query, but I don’t want the user to be redirected to page, just send the request.
-
1
votes1
answer211
viewsQ: Error check existing Pdo record
I have the following PDO class : <?php abstract class database{ /*Método construtor do banco de dados*/ private function __construct(){} /*Evita que a classe seja clonada*/ private function…
-
1
votes1
answer41
viewsQ: Error when including file within function
Guys I’m putting together a system where I want to do it mutipla language... Well created the project, inside it has a folder strings (where inside has a file called EN-BR.php), has a file functions…
phpasked Augusto Furlan 1,155 -
2
votes1
answer336
viewsQ: Error placing Poser as global MAC
Personal installed the Composer on my mac by this command : curl -s https://getcomposer.org/installer | php He downloaded the Poser.phar and tested it : php compser.phar Returned to me everything ok…
-
2
votes2
answers1964
viewsQ: Consume Json Data - Webservice Swift 2 - iOS
I need Query price in the search api (returns in json) in my app with Swift 2. Could someone help me do this or indicate a tutorial on how to do ? How you use the search api : Using the Search API…
-
0
votes1
answer300
viewsQ: Pass parameters between IOS views
Guys I have a view where I have login ways in my app, if the person choose login or register will be redirected to the same view but depends on the button that is pressed I will present a different…
-
3
votes1
answer150
viewsQ: PHP Error return function
I have the following class with the methods: <? class minhaClasse extends database { public function funcao ($iduser) { $date = array($iduser, '1'); $sql = "SELECT * FROM `tabela` WHERE 'iduser'…
-
2
votes1
answer2359
viewsQ: Mac , Andy does not recognize the door imusb
I bought a UNO Rduino ( I believe it’s not the original ) , I downloaded the IDE , installed normal , connected the board ( lit normally , I went to the IDE on tools > boards and selected…
-
2
votes1
answer66
viewsQ: Android app error 5
I developed an android app that works perfect, but does not run on android 5, I do not know what else to do ... Follow the log cat : 11-19 20:36:27.387 24358-24358/? I/art: Late-enabling -Xcheck:jni…
-
0
votes1
answer917
viewsQ: How to create an insert Trigger
I need to assemble a trigger so that every time you insert a data into a table usuario, automatically insert the same data into another table bkuser. How can I do this? PHP Usage. And how do you…
-
2
votes1
answer160
viewsQ: INNER JOIN with Where
I have the following tables : permissions_users id_user id_permissao permissions - id - permission I have a session variable where I have the id of user , I need to do a table search for id and…
-
7
votes2
answers13793
viewsQ: Block android rotation
I developed an android app but I need it to just stand up can not lie down... What would be the best way to block the rotation ? Thank you
-
2
votes2
answers914
viewsQ: Artisan Laravel not installed
I installed the Laravel with Composer all working ... I use commands like laravel new projeto, but I use a command like php artisan list he informs that the Artisan command is not recognized... How…
-
5
votes2
answers4705
viewsQ: Laravel database connection error
Use Mamp and configure the database.php file like this 'mysql' => [ 'driver' => 'mysql', 'host' => env('DB_HOST', 'localhost:8889'), 'database' => env('DB_DATABASE', 'estoque_laravel'),…
-
1
votes1
answer454
viewsQ: Shortcut MAC/Linux terminal
People how can I create a shortcut in the terminal ? type instead of typing cd xxxx/xxxx/xxxx i just type goDevWeb ? Thank you
-
4
votes2
answers1319
viewsQ: Laravel error in installation
Guys, I am using mac and trying to install Laravel. I have already installed the composer, surround the command line documented in the framework : composer global require "laravel/installer=~1.1" He…
-
3
votes2
answers329
viewsQ: select Pdo com oo
I have this class that manages the database : <?php abstract class database{ /*Método construtor do banco de dados*/ private function __construct(){} /*Evita que a classe seja clonada*/ private…
-
2
votes1
answer1120
viewsQ: Insert with Pdo and OO
I have the following class that manages bank : <?php abstract class database{ /*Método construtor do banco de dados*/ private function __construct(){} /*Evita que a classe seja clonada*/ private…
-
1
votes1
answer2389
viewsQ: View PDF on android
I need to insert a pdf into my application; how could I do that ? Is there a pdf view? The pdf will be inside the application itself in the Assets folder. Thank you.
-
1
votes2
answers120
viewsQ: spinner change image cause error: Out of Memory on a byte allocation
I have a normal spinner working perfect and I have the following code : import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import…
-
0
votes1
answer97
viewsQ: Manipulating android imageView
I have an image view on android, I wonder how can I exchange this image via code ? Thank you
-
1
votes1
answer747
viewsQ: Android studio create directories
How can I create a folder in android studio (to save images - my project will have many images and would like to split into folders or packages for better organization)? If I create in the directory…
androidasked Augusto Furlan 1,155 -
0
votes1
answer364
viewsQ: Progress bar Does not work
People I have two threads, one that accesses the webview with the url and the other responsible for progressibar, but the Progress bar is not running. What can it be and how to fix it ? import…
-
0
votes1
answer102
viewsQ: Error when referencing global variable
I have an application in which you have a webview, so I created a preloader to load into a thread , now I need to put the webview in another thread , how can I do (code error ) ? import…