Gossamer Forum
Home : General : Perl Programming :

Include cgi-result in search?

Quote Reply
Include cgi-result in search?
Hi

Just a question....Is it possible to include a result of a cgi-script on a html-page?

For instance get results from a classified-search engine, and get all the ads listed in the html?

Does php3 have its features here? Mayby SSI?

The scipt I were thinking of, is Virutual Yenta, at http://unionavenue.com/scripts/

Thanks!
Quote Reply
Re: Include cgi-result in search? In reply to
You could use SSI to execute an cgi program and have it's output placed in the middle of your html file.

Yes, PHP can do this too. Perl can, but not without executing the cgi script, unless you use perlscript, which not everyone has capability for in their browser.

--mark
Quote Reply
Re: Include cgi-result in search? In reply to
Is it as simple as for instance #include file /cgi-bin/search.cgi ?

Quote Reply
Re: Include cgi-result in search? In reply to
Hi

The include is working at http://www.a4webhotell.com/test.shtml

(Just a testpage. I placed the cgi-call on the top.)

But in Virutual Yenta, as you see, there is a list function. Is it possible to get theresults of the listsearch to inside the html?

(The reason why I do this is because I donīt want to use frames)

Thanks.