Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Friday, May 24 2013 @ 08:19 AM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 Using a static page to call a cgi script??
   
Anonymous: Anonymous
 09/08/02 02:05PM (Read 719 times)  



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

 
 Quote
Dirk
 09/08/02 03:30PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
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

 
Profile Email Website
 Quote
Anonymous: Anonymous
 09/08/02 04:06PM  



I would I do the <iframe> anything that gets the script running is fine

 
 Quote
winnits
 09/08/02 04:53PM  
++---
Junior

Status: offline


Registered: 03/22/02
Posts: 19
Of course there is also Mr GXBlocks' rather stylish Geekbook plugin - you can find out more my visiting GXBlock.com.



--

Alan @ goddammit.co.uk

 
Profile Email Website
 Quote
efarmboy
 09/08/02 09:58PM  
+++++
Full Member

Status: offline


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


 
Profile Email Website
 Quote
Anonymous: Anonymous
 09/09/02 05:48AM  



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

 
 Quote
Content generated in: 0.84 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content