File: gen_script.php

Recommend this page to a friend!
  Classes of Pierre FAUQUE  >  PHP JavaScript Form Validation  >  gen_script.php  >  Download  
File: gen_script.php
Role: Application script
Content type: text/plain
Description: Use to generate code (copy/paste)
Class: PHP JavaScript Form Validation
Output form validation JavaScript from a INI file
Author: By
Last change:
Date: 2 months ago
Size: 444 bytes
 

Contents

Class file image Download
<?php
/*
** File : gen_script.php
** Version : 0.1 of 2020-07-17
** Author : pierre FAUQUE, pierre@fauque.net
** Role : Generates the necessary javascript to check the form describe in the ini file below
*/

// Indicate the name of the form to be checked
// and described in the formname.ini
$formname = "subscription"; // subscription.ini must exists

// Don't modify below....
require("class.js.php");
$script = new js("$formname");
?>


For more information send a message to info at phpclasses dot org.