View Single Post
  #12  
Old 09-27-2009, 09:38 PM
 
masada3336 masada3336 is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 115
 

Default Re: new/custom php page?

OK guys - I have successfully implemented php being used in the tpl file. I can get it to echo "hello world". However, in the tpl file I have a call to http://www.mysite.com/my_search_file.php:
Code:
{include_php file="http://www.mysite.com/my_search_file.php"}
When I go to mysite.com/mysearch.php, when I only have it echo "hello world" it works. When i ask it like I have above to pull the php file, it gives me a smarty error "my_search_file.php is not readable in /mysite/Smarty-2.6.19/Smarty.class.php on line 1092"
Anyone know what gives?
TIA!
__________________
4.4.5 - with Customized Smart Template
Reply With Quote