Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old May 12th, 2001, 06:05 AM
Phantom Phantom is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 1 Phantom User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Executing CGI file within an include .txt file?

Hey all,

This is probably gonna be an easy question for some of you but well here goes.

How do I execute a CGI file? (poll_it_ssi) within an included txt file?

My site is made up of text files and I want to execute the poll_it_ssi.cgi within my leftmenu.txt. When I put in the code to execute it it just prints it in the execute line and nothing happens?

Thanks

- Phantom

Last edited by Phantom : May 12th, 2001 at 06:08 AM.

Reply With Quote
  #2  
Old May 16th, 2001, 11:14 PM
z-lite z-lite is offline
wuz here
Dev Shed Novice (500 - 999 posts)
 
Join Date: May 2001
Location: FL
Posts: 648 z-lite User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to z-lite
Are you telling me that you have .txt files instead of .html or any other regular webpage extensions? If I get you straight, you have a leftmenu.txt with CGI code in it and you want it to process the CGI code instead of displaying it? One solution: change the extensions of the files, make your leftmenu.txt into leftmenu.html and the CGI code should be processed properly.
.txt files are text files and browsers turn into a read-only word processor when the URL leads to a .txt file and displays everything as a normal text file (instead of an HTML page where server code can be processed like you wanted)
__________________
z-lite was here

Last edited by z-lite : May 16th, 2001 at 11:18 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Executing CGI file within an include .txt file?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway