
watersidedesign
New User
Jul 7, 2009, 7:56 AM
Post #1 of 2
(3656 views)
Shortcut
|
|
Using Search.cgi on a php page
|
Can't Post
|
|
Hi All I am trying to run a Listing Manager query on an index.php page. I have searched these forums trying the following but none work. Any ideas? THIS DISPLAYS NOTHING: <?php @include ('/listman/exec/search.cgi?search=1&perpage=1&template=_search_template1.html&sort_order=1,abc,forward&lfield2_keyword=Video')?> THIS ERRORS: <?php include ('/listman/exec/search.cgi?search=1&perpage=1&template=_search_template1.html&sort_order=1,abc,forward&lfield2_keyword=Video')?> The error is: Warning: include(/listman/exec/search.cgi?search=1&perpage=1&template=_search_template1.html&sort_order=1,abc,forward&lfield2_keyword=Video) [function.include]: failed to open stream: No such file or directory in /home/t/h/thegg/public_html/index.php on line 107 Warning: include() [function.include]: Failed opening '/listman/exec/search.cgi?search=1&perpage=1&template=_search_template1.html&sort_order=1,abc,forward&lfield2_keyword=Video' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/t/h/thegg/public_html/index.php on line 107 I have also tried using the full server path to the script but it still dont work. i.e. <?php include ('/home/t/h/thegg/public_html/listman/exec/search.cgi?search=1&perpage=1&template=_search_template1.html&sort_order=1,abc,forward&lfield2_keyword=Video')?> Any help appreciated :)
|