PHP Classes

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of wiki chua  >  Flex Validator  >  index.php  >  Download  
File: index.php
Role: Auxiliary script
Content type: text/plain
Description: Example script
Class: Flex Validator
Validate request values based on extensible rules
Author: By
Last change:
Date: 1 year ago
Size: 1,965 bytes


Class file image Download
<!DOCTYPE html>
    <link rel="stylesheet" type="text/css" href="//">
    <style type="text/css">
        margin-bottom: 50px;
<div class="container">
    <h1>Flexible Validator</h1>
        <legend>Test Form</legend>
        <?php include("validates.php");?>

        <form role="form" method="post" action="" enctype="multipart/form-data">
          <div class="form-group">
            <label for="exampleInputEmail1">Email address</label>
            <input type="text" name="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
          <div class="form-group">
            <label for="exampleInputPassword1">Password</label>
            <input type="password" name="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
          <div class="form-group">
            <label for="exampleInputPassword2">Confirm Password</label>
            <input type="password" name ="password_confirmation" class="form-control" id="exampleInputPassword2" placeholder="Confirm Password">
          <div class="form-group">
            <label for="exampleInputEmail1">Alternative Email address</label>
            <input type="text" name="email2" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
          <div class="form-group">
            <label for="exampleInputFile">My File</label>
            <input type="file" name ='myfile' id="exampleInputFile">
            <p class="help-block">Example block-level help text here.</p>
          <div class="checkbox">
              <input type="checkbox" name="checkme"> Check me out
          <button type="submit" name="submit" class="btn btn-default">Submit</button>
<script type="text/javascript" src="//"></script>