Questions tagged as 'post'

1
answer

Date appearing in 1 post only

Hello everyone, I have a problem that when I make several postings the same day it would be the same date it only appears in the last post <articleid="post-<?php the_ID(); ?>" <?php post_class( 'cf' ); ?> role="article">...
asked by 10.12.2015 / 17:06
3
answers

POST method does not work!

Well, I'm making a simple code ... I just want to get the information typed in the form. But it's not right, GET works ... the Post does not. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <ti...
asked by 09.12.2017 / 04:46
1
answer

PostAsync Json C #

I have the following class defined: public class Ticket { public string name public string content public int itilcategories_id } And the following code sample: static HttpClient client = new HttpClient(); client.BaseAddress...
asked by 26.03.2018 / 17:10
1
answer

How to pass a value to the next page with PHP

In the code below I try to move to the next page with the value NumeroCartao . However, the variable is empty on the next page. How do I fix this error? INDEX.PHP <label> Numero da Carteira: </label> <span> <? ec...
asked by 30.04.2014 / 01:44
1
answer

How to capture (GET) multiple values sent in the same variable (PHP)?

After a query, I am sending different values through the same variable (via an input): <input type="hidden" id="sku" name="sku" value="<?= $reg->sku ?>"> That way, my URL looks like this: http://localhost/admin/anuncios...
asked by 21.09.2017 / 15:53
2
answers

Use $ _POST in a variable in Php

I'm learning to use POO I'd like to ask for help because I can not enter $_POST inside a variable, I've already researched and looked at my books, but I'm not getting any progress. I am grateful for the help in learning this in the...
asked by 27.10.2016 / 18:46
2
answers

How to keep a $ _POST on page

I have a question system, and I've implemented a form where people choose which area to respond to: <form class="form-horizontal" method="POST" action="perguntas.php"> <fieldset> <legend>SELECIONE O QUESTIONÁRIO</leg...
asked by 15.04.2016 / 22:01
1
answer

Register loop in if loop

I have a registration form: <form action="Cadastro.php" method="post"> Nome de Usuário: <br> <input class="form-control" type="text" placeholder=" algo parecido com o seu nome" size="30px" name="nomeUser"...
asked by 17.01.2017 / 19:42
2
answers

Disable the CSRF token for laravel 5.2

In laravel 5.2 I want to disable CSRF on a route, since I am using pagseguro (michaeldouglas / laravel-pagseguro) and want to work with automatic return. I have tried to add the route in the exception array in the App \ Http \ MiddlewareVerif...
asked by 29.06.2016 / 21:46
1
answer

Problems with POST php

add-product.log <?php include("header.php"); include("conexao.php"); include("banco-produtos.php");?> <?php $nome = $_POST["nome"]; $preco = $_POST["preco"]; $descricao = $_POST["descricao"]; $categoria = $_POST["catego...
asked by 03.11.2016 / 18:10