Women in Technology

Hear us Roar



Article:
  Three-Tier Development with PHP 5
Subject:   use _POST for x, y, z
Date:   2004-12-15 10:50:59
From:   yasheshb
in the file save.php use _POST to reference the form variables. using $x, $y, $z did not work for me.


5 $user->first_Name = $_POST['x'];
6 $user->last_Name = $_POST['y'];
7 $user->email = $_POST['z'];

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • use _POST for x, y, z
    2004-12-15 15:41:08  lycruzc [View]

    Hi friend, for that work without _POST; You should activate the var :

    register_globals=OFF => register_globals= ON

    This variable this in the file of configuration of PHP (php.ini).