Login   Register  
PHP Classes
elePHPant
Icontem

File: linkerTest.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of BrettsBSD.net  >  linker.class.php  >  linkerTest.php  >  Download  
File: linkerTest.php
Role: ???
Content type: text/plain
Description: Test Implementation
Class: linker.class.php
Author: By
Last change:
Date: 2001-05-06 19:51
Size: 513 bytes
 

Contents

Class file image Download
<?

require ("linker.class.php");

$text = 'Hello, my name is brett, my email is estrabd@mvdev.com , and my url is http://www.mvdev.com/index.html , and I also have an ftp site at ftp://ftp.ftpptf.com .';

$linkObj = new Linker();

echo '<strong>Original text:</strong><br>';
echo $text.'<br><br>';

echo '<strong>Linked text:</strong><br>';
echo $linkObj->format($text).'<br><br>';

echo '<strong>Old text (available as an internal class variable):</strong><br>';
echo $linkObj->getOldStr();

?>