Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:12 pm EST
Geeklog Forums
Using a static page to call a cgi script??
Anonymous
Anonymous
First of all I would like to say great job on Geeklog.
With that out of the way I would like to know if there is a way to call a cgi script form a staic page.(Embed a script in geeklog)
I want to add a certin guestbook which is cgi.Of cource worse case serniro is I will have to just make a link which will go out of geeklog.
Thanks in advance
8
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You can't use PHP (and therefore can't call a CGI) from a static page - at least not with the static pages plugin that comes pre-installed with Geeklog. There is, however, an extended static pages plugin available which allows the use of PHP (search for Postings by Phill).
An easier way, though, may be to use a static page that wraps your guest book in an <iframe>.
bye, Dirk
7
6
Quote
Anonymous
Anonymous
I would I do the <iframe> anything that gets the script running is fine
7
8
Quote
winnits
Anonymous
Of course there is also Mr GXBlocks' rather stylish Geekbook plugin - you can find out more my visiting GXBlock.com.
--
Alan @ goddammit.co.uk
--
Alan @ goddammit.co.uk
8
7
Quote
Status: offline
efarmboy
Forum User
Moderator
Registered: 02/26/02
Posts: 147
Using iframes are supported - check out my previous post as an example here
Also as noted by Dirk, Phil at Gdev has created an excellent enhanced version of the Staticpage Plugin that supports PHP. You can get it at squatty.com or at Phil's site here
You may also find examples via Google of calling ASP, PERL or even CGI scritps from PHP. I have not done it but have seen example code posted to do so.
Blaine
6
7
Quote
Anonymous
Anonymous
PERFECT PERFECT PERFECT!!!!!!!!
That is exactly what I wanted.Not only does it call the cgi but it stays in the site template.
check it out:www.3dwall.com/staticpages/index.php?page=20020909052606632
ps.if you couldnt tell already I am testing geek out for newyorkpride.com
It needs to be rebuilt (a NY newspaper wants to do a article about it)
YOU GUYS ROCK!!
thanks
7
7
Quote
All times are EST. The time is now 10:12 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content