Login   Register  
PHP Classes
elePHPant
Icontem

File: _config.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Arun Vijayan.C  >  Submit Force  >  _config.php  >  Download  
File: _config.php
Role: Configuration script
Content type: text/plain
Description: Config file
Class: Submit Force
Search Engine URL submission class
Author: By
Last change:
Date: 10 years ago
Size: 1,054 bytes
 

Contents

Class file image Download
<?php

define
("DEBUG"0);
define("ONLINE"1); // dont edit these two

$engine_file         "engines.dat";    // engine data file 
$enable_form_validateFALSE;            // must validate form fields [javascript]
$num_of_cols         2;                // number of cols in the engine display form table

$title_suffix         " [SubmitForce powered]";
$style_sheet_href    "submitforce.css";

// Operating mode
$SF_mode DEBUG;        






/*** exec time ****/
function microtime_diff($a,$b) {
    list(
$a_micro$a_int)=explode(' ',$a);
     list(
$b_micro$b_int)=explode(' ',$b);
     if (
$a_int>$b_int) {
        return (
$a_int-$b_int)+($a_micro-$b_micro);
     } elseif (
$a_int==$b_int) {
        if (
$a_micro>$b_micro) {
          return (
$a_int-$b_int)+($a_micro-$b_micro);
        } elseif (
$a_micro<$b_micro) {
           return (
$b_int-$a_int)+($b_micro-$a_micro);
        } else {
          return 
0;
        }
     } else { 
// $a_int<$b_int
        
return ($b_int-$a_int)+($b_micro-$a_micro);
     }
  }

$start_time microtime();



?>