PHP Classes

File: getpath.php

Recommend this page to a friend!
  Classes of Mark de Leon  >  PHP Document Scanner using SANE or eSCL AirPrint  >  getpath.php  >  Download  
File: getpath.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Document Scanner using SANE or eSCL AirPrint
Web interface to scan printed documents
Author: By
Last change:
Date: 1 year ago
Size: 320 bytes
 

Contents

Class file image Download
<?php
$lines
=file('/home/kodi/users/Lenny.php');
// To check the number of lines
echo count($lines).'<br>';
foreach(
$lines as $line)
{
   echo
$line.'<br>';

 
$str=$line;
//$str = 'before-str-after';

//preg_match('/$userpath = '(.*?)'; /', $str, $match);
preg_match('us(.*?)h/', $str, $match);
echo
$match[1];
}


?>

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