All pastes #164130 Raw Edit

Mine

public php v1 · immutable
·published 2006-09-08 09:56 UTC
rendered paste body
// HTML CODE:<form action="index.php?action=admin&admin=add_product" method="post"> <p>Product ID: <input type="text" name="product_id" /></p> <p>Product Categorie: <input type="text" name="categorie" /></p> <p>Product Name: <input type="text" name="product_name" /></p> <p>Product Description: <input type="text" name="description" /></p> <p>Product Manufacturer: <input type="text" name="manufacturer" /></p> <p>Product Price: <input type="text" name="price" /></p> <p>Product File: <input type="file" name="product_file" /></p><input type="submit" name="add" value="add"></form>// PHP Code:    public function display()    {        // section .:0000000000000B2F begin        if (    (array_key_exists('product_id', $this->m_request)) &&                (array_key_exists('categorie', $this->m_request)) &&                (array_key_exists('product_name', $this->m_request)) &&                (array_key_exists('description', $this->m_request)) &&                (array_key_exists('manufacturer', $this->m_request)) &&                (array_key_exists('price', $this->m_request))  ) {                $product_id = $this->m_request['product_id'];                $categorie = $this->m_request['categorie'];                $product_name = $this->m_request['product_name'];                $description = $this->m_request['description'];                $manufacturer = $this->m_request['manufacturer'];                $price = $this->m_request['price'];                $product_file = $this->m_request['product_file'];