Login   Register  
PHP Classes
elePHPant
Icontem

File: class_requirement_examples.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of MARY Matthieu  >  class_requirement  >  class_requirement_examples.php  >  Download  
File: class_requirement_examples.php
Role: Example script
Content type: text/plain
Description: example of use
Class: class_requirement
Check the php version for application requirements
Author: By
Last change:
Date: 11 years ago
Size: 392 bytes
 

Contents

Class file image Download
<?php
 
require_once "class_requirement.php";
 
$rq = new requirement();
 print 
$rq->check("class_requirement_examples.php");
 if (
count($rq->aErrors)>0){
        echo 
"error";
      
print_r($rq->aErrors);
 }


 
/*
 error_reporting(1024);
 $rq->build('/home/user/path_to_doc_of_php');
 if (count($rq->aErrors)>0){
        echo "error";
      print_r($rq->aErrors);
 }
 */
?>