View Single Post
  #1  
Old 05-20-2003, 04:52 AM
 
snorocket snorocket is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 403
 

Default php include statement in languages text file, how?

putting an include statement to a php script in any .tpl file works perfect, example:

{php}
include("http://www.myxcartsite.com/path/to/phpscript.php");
{/php}

but i have a script i need to work in one of the language text files and cannot get it to work the same way, i removed the smarty tags, tried the {literal}{/literal} tags, removed teh tags altogether, i just can't seem to get an include statement to work in one of the text files, what is the trick? how can i get this working, Thanks
Reply With Quote