K Kane New Member Jul 1, 2001 #1 In php when I want to include the information in the file. I put this <?php require "FILENAME GOES HERE"; ?> What code do I put if I want to include the information in a file using cgi/perl ?
In php when I want to include the information in the file. I put this <?php require "FILENAME GOES HERE"; ?> What code do I put if I want to include the information in a file using cgi/perl ?
jw Active Member Jul 2, 2001 #2 <?php virtual("FILE_NAME_HERE"); ?> is to include the output of a cgi/perl script. Is that what you were asking?
<?php virtual("FILE_NAME_HERE"); ?> is to include the output of a cgi/perl script. Is that what you were asking?
gyrbo Allied Squad Trooper NLC Jul 2, 2001 #4 I don't think that's possible in one command, but yiou could use SSI: <!--#include file="FILENAME HERE"-->
I don't think that's possible in one command, but yiou could use SSI: <!--#include file="FILENAME HERE"-->
lucifer NLC NLC Jul 2, 2001 #5 Code: open (FILE,"filename") or die "couldn't open file :("; while (<FILE>){print;} should do what you want
Code: open (FILE,"filename") or die "couldn't open file :("; while (<FILE>){print;} should do what you want