Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Listings Manager (Realty Manager & Auto Manager):
Using Search.cgi on a php page

 

 


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 :)


Donna
Staff / Moderator


Jul 7, 2009, 3:10 PM

Post #2 of 2 (3641 views)
Shortcut
Re: [watersidedesign] Using Search.cgi on a php page [In reply to] Can't Post

Hi there,

Whether or not you can include a CGI script via a PHP include is actually going to depend on the server -- I'd recommend contacting your hosting provider and asking them if that's something they allow, and if so, what syntax will work the best for that. :)

Donna

--
support@interactivetools.com