Hi "News" (perhaps use your real name next time),

> I run a .txt perl/cgi database/shopping cart which uses the command line
>
> http://localhost/_uns/cgi-bin/store.cgi?command=listitems&pos=0&type=all
>

When you say command line, what's that have to do with the localhost (ie,
noone else can click it) link? I assume you mean GET, rather than command
line.

> to produce a list of all items in the database.
>
> I also have a front page index.htm which has a header and I would like to
be
> able to generate the above output to this page as soon as people visit the
> site.

I'm don't know what you're asking...

If you want to include a page, try php.net/include
If you want to read the output of a cgi script, you'll need to readfile() or
file_get_contents() it after it's been processed by your webserver.

If this isn't touching on what you want to do, please ask your question
again.

>
> Is there any way I can do this with PHP.
> Or at least an someone point me in the right direction.
>
> William L Kolln

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to