|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Executing CGI file within an include .txt file? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|