<?
include("http://xx.xx.xx.xx/left.php");
?>
I am trying to get the above include to work inside a search results page template. Is there a problem with using this code inside a cgi driven page?
I cannot get it to show up, though it shows up in other templates. Is there a problem with using this kind of include while on a search page, or am I missing some qualifying code to make it work. I'm stuck!
Thanks,
DR
Need help calling .php files inside search results pages
-
- Posts: 12
- Joined: Sat Aug 04, 2007 8:31 pm
- Contact:
-
- Posts: 2572
- Joined: Fri Aug 04, 2006 12:02 pm
- Location: Anywhere
- Contact:
-
- Posts: 12
- Joined: Sat Aug 04, 2007 8:31 pm
- Contact:
Any suggestions?
There must be a way around this.
DR
DR
-
- Posts: 2572
- Joined: Fri Aug 04, 2006 12:02 pm
- Location: Anywhere
- Contact:
None that I know of with ShopSite's cgi-based product search. Perhaps you can try some other site search feature that is based on PHP so you could use your PHP includes in it.
Note that if all your left.php file has in it is text and/or HTML, and no actual PHP code that has to be executed, then you could just put that text/HTML in a ShopSite custom search template. Again, no PHP code will be executed from here.
-Loren
Note that if all your left.php file has in it is text and/or HTML, and no actual PHP code that has to be executed, then you could just put that text/HTML in a ShopSite custom search template. Again, no PHP code will be executed from here.
-Loren
-
- Posts: 12
- Joined: Sat Aug 04, 2007 8:31 pm
- Contact:
What about javascript
I remember once i used javascript to pull in a .js file inside a .asp environment. Will that work? It is a list of links, so I would like to pull from one file rather than have two files with the same links.
Thanks,
DR
Thanks,
DR
-
- Posts: 2572
- Joined: Fri Aug 04, 2006 12:02 pm
- Location: Anywhere
- Contact: