PHP Classes

File: example/index.php

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq   PHP Input Class   example/index.php   Download  
File: example/index.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Input Class
Process the current HTTP request values
Author: By
Last change:
Date: 4 years ago
Size: 1,091 bytes


Class file image Download
require_once "../vendor/autoload.php";
if (
input('submit')) {
//Check whether the request ajax/xhr?
    //echo "<br>";
if (input('q')) {
'<div class="container">'.input('q').'</div>';
  <title>PHP Input class example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="">
  <script src=""></script>
  <script src=""></script>
  <script src=""></script>
<div class="container">
  <form method="post">
    <div class="form-group">
      <label for="comment">Comment:</label>
      <textarea class="form-control" rows="5" name='q'></textarea>
      <input type='submit' name='submit' class="btn btn-success" value='Submit' />