PHP Classes

File: testfileocunter.php

Recommend this page to a friend!
  Classes of markitos   filecounter   testfileocunter.php   Download  
File: testfileocunter.php
Role: ???
Content type: text/plain
Description: test file to view hot to work
Class: filecounter
File counter class
Author: By
Last change:
Date: 21 years ago
Size: 1,124 bytes
 

Contents

Class file image Download
<? require_once ("filecounter.php"); $FileCounter = new filecounter(); $FileCounter->CambiaFile ("http://www.yahoo.com"); $YahooHref = "<a href=".$FileCounter->DameHref().">Click aqui para subir YAHOO</a>"; $Puntos = $FileCounter->DameDatos ("counter"); $PuntosYahoo = $Puntos->counter; $FileCounter->CambiaFile ("http://www.google.com"); $GoogleHref = "<a href=".$FileCounter->DameHref().">Click aqui para subir GOOGLE</a>"; $Puntos = $FileCounter->DameDatos ("counter"); $PuntosGoogle = $Puntos->counter; $FileCounter->CambiaFile ("./testfuncional.php"); $FuncionalHref = "<a href=".$FileCounter->DameHref().">Click aqui para subir testfuncional</a>"; $Puntos = $FileCounter->DameDatos ("counter"); $PuntosFuncional = $Puntos->counter; unset ($FileCounter); ?> <h4>Creamos mediante FileCounter 3 enlaces a 3 sitios...</h4> <br> <h5>Sitio 1. Yahoo. Puntos[<?=$PuntosYahoo?>]<h5> <h5>Sitio 2. Google. Puntos[<?=$PuntosGoogle?>]<h5> <h5>Sitio 3. Funcional. Puntos[<?=$PuntosFuncional?>]<h5> <br> <br> <?=$YahooHref?><br> <?=$GoogleHref?><br> <?=$FuncionalHref?><br>