Questions tagged as 'php'

1
answer

Remove PHP from Ubuntu 14 [duplicate]

I used the following commands to remove PHP from Ubuntu: sudo apt-get purge php5 php5-cli libapache2-mod-php5 php5-mysql phpmyadmin sudo rm -rf /etc/php5 But when I run the command php -v on the command line, I get the following re...
asked by 17.02.2016 / 13:54
1
answer

Convert Excel (.xls) to (.htm)?

I made a system for a school, where from the Excel file, where all school bulletins are stored, I export to .htm , where it generates some files with this extension and from there I can make the cut of the bulletins and comparing them with...
asked by 21.12.2016 / 15:57
1
answer

Doubt on using LEFT JOIN in mysql

I have the following problem: I have two tables. students and proof Students have 10 students evidence has 9 results (because one student was absent) The union of the tables occurs through the enrollment field. I want to merge the tw...
asked by 22.05.2016 / 17:12
2
answers

How to do autocomplete JqueryUi with PHP return multiple data?

I have two inputs , I'm using automplete in only one. The autocomplete code: $(document).ready(function() { $.getJSON('include/funcoes/carrega_cidades.php', function(data){ var dados = []; $(data).each(function(key, value...
asked by 11.12.2015 / 20:32
2
answers

Check if username is unique in real time

Hello, guys! Currently, to check if a user name is unique, I do the most basic. I send the POST to a PHP page that checks in MySQL, only then returns the error. cadastro.php: <form role="form" action="https://<?php print $_SERVER['HTTP...
asked by 01.11.2017 / 21:34
1
answer

How to set up a development environment manually

I'm trying to set up my own development environment on a machine with Windows 10 . The idea would be to install Apache + PHP + MySQL . The problem is that the documentation of the software is quite complicated for beginners like m...
asked by 11.02.2017 / 18:43
2
answers

Limit payment options only to PayPal accounts (no credit card)

I'm integrating the PayPal Express Checkout API. When the payer actually goes to the Paypal website to enter your details in order to make the payment, you are presented with the following options: PayPal account payment Payment by...
asked by 06.02.2014 / 20:39
1
answer

How to insert style into a Zend_Form_Element_Select element?

How can I insert a style into a option element using Zend_Form? I'm using Zend Framework 1 .     
asked by 20.01.2014 / 20:47
1
answer

Unique Identifier for a Smartphone

I'm developing a system and need to capture a unique Smartphone identifier. In this case, the person would access the site through the Smartphone and the site will capture some unique identifier of the device or even the browser. I thought of...
asked by 21.10.2015 / 21:35
2
answers

How do I keep the session after browser closing?

I log in to my site, but when I close the browser, there is no more session. Then I have to log in again. How do I resolve this?     
asked by 26.01.2016 / 04:09