Questions tagged as 'php'

6
answers

Difference between php and php tags?

Well I'm learning Laravel and I was left with a doubt following some tutorials. At certain times within view the tag is used: <?php foreach($produtos as $p): ?> and when will I get the data <?= $p->nome ?&g...
asked by 30.09.2015 / 15:27
6
answers

What is the difference between elseif and elseif?

I wanted to know the difference between else and elseif in PHP, and when to use one or the other.     
asked by 10.04.2015 / 14:44
8
answers

How to check if a checkbox is checked with PHP?

How to check if a checkbox is checked, in a form submit?     
asked by 13.02.2014 / 17:37
3
answers

How to send e-mail from localhost using the PHP mail function?

I want to send emails from localhost. <html> <head> <meta charset="utf-8"> </head> <body> <h1> Olá mundo!</h1> <?php $enviar = mail( "[email protected]", "nada não", "teste somente"); ?> &...
asked by 18.11.2014 / 09:43
3
answers

Limit timestamp January 19, 2038

How can this bug be resolved? echo date('c', mktime(1, 2, 3, 4, 5, 2038)); Result 1970-01-01T00:00:00+00:00     
asked by 25.11.2015 / 10:37
3
answers

What is the difference between static and self in PHP?

What is the difference between static and self ? Exemplify with situations that justify their different uses. What does this have to do with late static binding ?     
asked by 19.02.2014 / 03:02
4
answers

How to package and distribute a web system?

I need a web system, including the PHP server itself, as well as MySQL to be "packaged" in an executable file, which allows the lay user to use it in a kind of browser of their own. What steps would you need to take to make this system distribut...
asked by 07.01.2014 / 03:24
2
answers

Is there any API to send message through WhatsApp using PHP?

Is there an API for sending a message to a person's WhatsApp using PHP?     
asked by 20.02.2015 / 14:09
4
answers

What is the difference between; and & in a URL?

I was looking at a website to add in a C # application, I noticed a link similar to this: www.site.com.br/index.php?post=yes;user=1521; The parameters are separated by ; (semicolon). I accessed the same page by changing the ;...
asked by 26.01.2016 / 18:11
9
answers

Why using Sessions is not a good alternative in authentication?

I see some discussions about the use of "Sessions" not being scalable, but as I have not experience in projects large enough to realize this, I do not know how it works.     
asked by 30.01.2014 / 13:00