Login   Register  
PHP Classes
elePHPant
Icontem

File: JSinclude.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Giancarlo Pinerolo  >  Javascript includer (document.writer)  >  JSinclude.php  >  Download  
File: JSinclude.php
Role: ???
Content type: text/plain
Description: the Javascript includer/broker/filter
Class: Javascript includer (document.writer)
Author: By
Last change:
Date: 2000-02-07 06:44
Size: 544 bytes
 

Contents

Class file image Download
<%
/* as of now I simply get the url */
/* you can invent more practical ways to pass the handle*/

/* and of course you'll want to add some restriction here,
   as it is it can download anything from you filesystem 
   as well, password files etc.
   it is recomended that you don't leave this to the public 
   access as it is. Use it to mediate between some php output
   you generate yourself and can control, this is just an
   example to start playing
*/
include ("JSutil.lib");
$myJS=new JSutil;
$myJS->JSinclude($url);
%>