introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

Problème avec $_POST



Posted by: profgryzzli
February 05, 2009 07:46PM
Bonjour à tous,
j'ai un gros problème avec EP3 : mes variables $_POST ne passent pas !

Fichier test.php :

<?
print_r($_POST);
?>
<form name="Essai" method="post" action="test.php">
<input type="text" name="test" value="test" />
<input type="submit" name="Ok" value="Ok" />
</form>

Un simple formulaire comme ça ne retourne absolument rien. Je ne comprends pas. Une option bizarre ?
Options: ReplyQuote
Posted by: Amour
February 06, 2009 07:31AM
<? --> pas bon, il ne faut pas de short tags mais le complet :
<?php
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.