php.ini: register_globals = off? look at $_POST['id']. ciao "Franck Collineau" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Greeting, > > I have just change my server to apache 2.0.44 and php 4.3.1 (from mandrake > 9.1) and i have a problem now > > > When i pass a numeric parameter to a php script from a form, the parameter is > equal zero ! > > Here is my form: > <p > Modification d'un matériel: </p> > > <table> > <tr> > <td align="right">Numéro: </td> > <td><form action="edit.php" method="POST" target="bas" name="forme"> > <input type="text" name="id" size="3"></td> > <td><input value="Modifier" type="submit"></td> > </form> > </tr> > </table> > > > here is my script php: > > <? > $taille=strlen($id); > print("ident: $id <br>"); > $id=(int) $id; > ?> > > > where does the problem come from ? > > > Thanks > Franck
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php