| 
	
 | 
 Posted by J.O. Aho on 06/18/05 13:54 
Chris B wrote: 
>> I never tried this myself, and on this Saturday morning can't really  
>> think 
>> of the way to do it, but I am certain it must be possible. 
>  
>  
>  
> Isn't that just a case of grabbing the database entry and putting  
> include($url) where $url is the result of the query? 
 
Yes, you can pull data from the database and then push it into a temp file and  
then include the same file again to the original file, but you have to keep  
track of the temp files, so that not two users will overwrite each others temp  
files and generate the wrong output for them. 
 
Another way would be to use system()/exec() and let cli-php to execute the  
script pulled from the database, this require some setting of values before  
sending the script to the cli-php, in ase you want to use values from the  
original script. 
 
I think there was a third way too, but not completely sure about that. 
 
 
  //Aho
 
  
Navigation:
[Reply to this message] 
 |