All Questions

2
answers

How to prevent auto-redirect from http to https?

My development web container uses the php: 7.1-apache image. To make it easier to memorize the address of the applications contained in this container, I like to edit the Hosts file on my machine and point it this way: 127.0.0.1 site.dev...
asked on 04.01.2018 / 15:56
2
answers

Is it possible to make a file upload system without using php, just with jquery?

I have already researched several websites but I never knew if it was even possible, can anyone help me?     
asked on 27.02.2014 / 00:56
3
answers

Apply effect when changing value of an input

I need a help with an effect I wanted to do, but I'm not getting it. I have an input of type range that goes from 1 to 10 , being its default value 5 : <input class="i1" type="range" min="1" max="10" value="5"> W...
asked on 09.01.2018 / 22:48
2
answers

JQuery click event in .class selector

I created several div using jQuery where I assign them to the CSS class numero : for(...) textoHTML += "<div class='numero par'>"+sorteado+"</div> <!-- numero par-->\n"; ... textoHTML += "<div class='numero im...
asked on 28.02.2014 / 05:08
4
answers

popup open only once after being closed, even after reloading page

I would like to know how to create one of those popup which usually appear in large (not flash) portals, but with div and javascript pure, script detect this and it will not open again, even after reloading the page or...
asked on 11.04.2014 / 15:28
4
answers

Why can not we return a void call on a method that expects void return?

I was doing C # tests to find out how the void return issue works. I did the following test below and realized that tests 1 and 3 work perfectly, but 2 does not. See: public class Program { public void Test1() { }...
asked on 06.12.2017 / 20:02
2
answers

Font-size: Leave a font 100% of the size of the DIV

I'm creating banners for printing and I came across a problem. I need to set a fixed div and height div, for example: #papel {width: 297mm;height: 210mm;border:1px solid red} Within this div, I have a SPAN #papel span{font-size: 9vw;bo...
asked on 16.05.2016 / 22:41
2
answers

Error using phpMailer class

I am making a contact form using the phpMailer class and every time I send the email this error occurs: I'm using the SMTP connection. "Fatal error: Class 'SMTP' not found in /home/proftpd/[email protected]/PHPMailer/class.phpmailer.php o...
asked on 11.06.2016 / 16:04
3
answers

Application that does not need to load entire page

How can I create an application in MVC C# with Razor , where I have a Layout and then only update the central content and not the page as a whole. I have read some places to use AJAX other to use PartialView . But wh...
asked on 21.05.2014 / 21:17
2
answers

What are modules in programming?

I know there is this question: What are modules ? But the explanation did not go straight to the point and it left me confused, as well as properties, methods, arguments and other words I've already seen quite the use of the word modules ....
asked on 18.05.2016 / 19:52