LeafWind
03-09-1999, 10:12 PM
Okay, I am very new to cgi, so far I've mostly figured out print commands and other output related stuff, not the actual programming.
Right now I have a program that produces 3 similar pages from what's in the cgi file. For each page, there is a header area done with
print<<whatever;
html stuff
whatever
then it calls another cgi file (which is only info, as in not changing, and only called in that particular case) by saying
require "filename.cgi";
then there's a footer section (of html) that's also done with
print<<whatever;
html stuff
whatever
Now, it works just fine for the first page. On the second page, it *only* calls the header stuff -- I can look at the source code of the output in my browser and it doesn't go further than that. It's not recording anything in my scripts logs. I've checked and checked and I can't figure out anything that's different between the first page and the second. I'm lost about how to fix it. Any ideas about how I can figure out where the problem is?
Btw, I've been doing all this by editing in my text editor and uploading by FTP -- I don't know where to begin with telnet (although I do think I have a telnet program somewhere in here).
Thanks in advance,
Bekariso
------------------
www.LeafWind.com (http://www.LeafWind.com)
Growing web sites that thrive in the winds of change.
Right now I have a program that produces 3 similar pages from what's in the cgi file. For each page, there is a header area done with
print<<whatever;
html stuff
whatever
then it calls another cgi file (which is only info, as in not changing, and only called in that particular case) by saying
require "filename.cgi";
then there's a footer section (of html) that's also done with
print<<whatever;
html stuff
whatever
Now, it works just fine for the first page. On the second page, it *only* calls the header stuff -- I can look at the source code of the output in my browser and it doesn't go further than that. It's not recording anything in my scripts logs. I've checked and checked and I can't figure out anything that's different between the first page and the second. I'm lost about how to fix it. Any ideas about how I can figure out where the problem is?
Btw, I've been doing all this by editing in my text editor and uploading by FTP -- I don't know where to begin with telnet (although I do think I have a telnet program somewhere in here).
Thanks in advance,
Bekariso
------------------
www.LeafWind.com (http://www.LeafWind.com)
Growing web sites that thrive in the winds of change.