All Questions

1
answer

Compare file extension [closed]

I'm trying to compare the length of a file, but it's failing I created a variable with the extensions allowed and try to compare with the one being uploaded. // Lista de tipos de arquivos permitidos $tiposPermitidos = array('gif', 'jpeg', 'jpe...
asked on 08.07.2015 / 20:35
3
answers

Sending external PHP variable to Javascript

I need to receive a message sent from PHP, and I need to receive it on the screen, to tell you if the login is correct or not. But I do not want to use ajax. The code I'm getting in the internal script is the index: <script type="text/ja...
asked on 11.06.2015 / 14:38
1
answer

How to customize buttons for social networks?

I was wondering how do I customize buttons for sharing something on some social network. In the web there are already the default buttons but I wanted to customize them just by using CSS. I plan to do as these here: link     
asked on 30.06.2015 / 03:07
2
answers

What is this class __php_incomplete_class?

I always end up discovering a lot of crazy things in this language that I love so much: PHP! What would this mysterious class __PHP_Incomplete_Class ? I accidentally "found" her when I gave her a get_declared_classes Then,...
asked on 16.07.2015 / 17:44
4
answers

Multiples Bootstrap Alerts

I'm trying to create a default response using alerts do bootstrap my goal with a simple: $(".alert").addClass('alert-success').text('Configurações salvas com sucesso.'); I choose the class alert-success and enter a text i...
asked on 14.07.2015 / 21:15
4
answers

Select with redirect

I do not know how to program! but I can make small changes. I need to create a select and when the person chooses the item, it will be redirected <select> <option value="Vilhena">Vilhena</option> <opti...
asked on 24.07.2015 / 19:16
1
answer

Mark an image with a period

I have an image of a map and would like to put points on it. How to do?     
asked on 31.10.2014 / 13:32
2
answers

Get the value of an input with javascript

I'm doing a PivotTable where the data comes from the database, and the user has the ability to edit that data. This data coming from the database is within <div> . Next to this data has a Editar button where it changes the...
asked on 16.08.2014 / 05:12
3
answers

Print the data of a vector in a struct

I want to make a birthday date registration system. The final doubt is: how do I print the anniversary: 1/12/1990, 12/2/1977, 09/13/1999 and 19/04/1987. They would be the examples of the printing of the dates, but I get several numbers that have...
asked on 14.11.2014 / 14:22
2
answers

Asp.net WebForms. Timeout error exceeded in SQL Server. How to solve?

In an ASP.NET WebForms application that uses SQL Server 2008 a search field that works with AJAX requests method asmx . To avoid mass requests I added a delay method in the keyup method of input $("#txtPes...
asked on 20.08.2014 / 22:19