Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jorge Machin  >  REF  >  example.php  >  Download  
File: example.php
Role: ???
Content type: text/plain
Description: example file
Class: REF
Author: By
Last change:
Date: 12 years ago
Size: 663 bytes
 

Contents

Class file image Download
<?php

   include 'curl.inc';

   $REF = new REF();

   // 

   $REF -> preserve('i');

   for ( $i = 0; $i < 10; $i++ ) {

      $REF -> curl( $PHP_SELF, "Link $i" );

      echo "<BR>\n";

   }


   // You can add in line variables:

   echo "<BR>\n";

   $REF -> curl( "$PHP_SELF?x=test", 'Another link' );

   echo "<BR>\n";

   //  You can use it with images:

   $i = 'Hello world';

   $REF -> gurl( $PHP_SELF, 'imagen path' );

   echo "<BR>\n";

   //  You can use it in forms:

   echo "<FORM>\n";

   $REF -> chidden();

   echo "</FORM>\n";

   echo '<BR><BR>Please look the HTML code of this page'


?>