Questions tagged as 'php'

0
answers

How does PHP Pear work? [closed]

I would like to know a little more about PEAR : How does it work? How do I put it in my application? What is the correct destination to put? Important information and details when using it? Note : I am using the Windows operating...
asked by 03.05.2017 / 16:12
1
answer

Problem adding column values and displaying in highcharts

I have the table: numitens | data | email 1 | 01/01/15 | [email protected] 1 | 01/01/15 | [email protected] 2 | 01/01/15 | [email protected] 1 | 02/01/15 | [email protected] The format you...
asked by 17.01.2015 / 23:52
1
answer

How to retrieve Facebook friends list

Personal I need to return the facebook friends list using the facebook 4 for PHP API. I can login, get the account info but the list only comes the following result for me: Array ( [data] => Array ( ) [summary] => stdClass Objec...
asked by 15.01.2015 / 13:47
2
answers

Is there any way to create a moip account by api from moip?

I am developing a marketplace system and each salesperson needs to have a MOIP account to receive sales. As these vendors are very lazy I thought about automating this so they do not have to create a MOIP account, which is automatically cre...
asked by 04.01.2015 / 19:03
1
answer

How to save the checkbox options in the bank?

I need to save the fruits and values in different fields in the database " PHP: <?php session_start(); //if (!isset($_SESSION["usuario"])){echo "<script>alert('O SEU INGRESSO É VALIDO');window.location=\"index.php\";</scrip...
asked by 14.12.2014 / 06:21
1
answer

Max Array size passed by POST

I am doing a JavaScript function to read a file that the user is uploading and sends to PHP via POST only content for insertion into the database. I'm trying to send a array with the contents of the file, each posi...
asked by 24.02.2015 / 13:59
3
answers

DELETE FROM users WHERE user_id = $ id

I have a script of simple PHP + MySQL query: <table > <tr> <td ><h2>GERENCIAR ANUNCIOS </h2></td> </tr> <tr> <td > <table > <tr> <th >ID</th>...
asked by 30.01.2015 / 13:02
4
answers

How to check for value in an array in PHP?

When I enter the page PHP already has an error:    Notice: Undefined index: name in C: \ wamp \ www \ index.php on line 41 Here is the code: include ("conexao.php"); $nome = $_POST["nome"]; $resul = mysql_query("SELECT * FROM funciona...
asked by 10.05.2014 / 17:38
2
answers

How to detect intrusion attempts? [duplicate]

In order to protect against SQL injection, I need to devise a function that eliminates the possibility of someone trying to act in bad faith. The question is, does mysqli bring with it any functionality to help counter this? In addit...
asked by 20.10.2015 / 07:20
3
answers

Concatenation or sequencing of data: Which one performs best?

A few days ago I was writing articles about PHP, in which I was asked about a possible improvement in large scale when developing applications in PHP. The assumption was as follows: Printing data via echo of PHP is extremely used at...
asked by 23.06.2017 / 17:16