View Full Version : Help
Kane
July 1st, 2001, 17:42
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 ?
:rolleyes:
<?php virtual("FILE_NAME_HERE"); ?> is to include the output of a cgi/perl script. Is that what you were asking?
Kane
July 1st, 2001, 23:10
I need to include the file in the cgi/perl script
gyrbo
July 2nd, 2001, 05:25
I don't think that's possible in one command, but yiou could use SSI: <!--#include file="FILENAME HERE"-->
lucifer
July 2nd, 2001, 05:43
open (FILE,"filename") or die "couldn't open file :(";
while (<FILE>){print;}should do what you want
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.