• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

Help

Kane

New Member
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?
 
I don't think that's possible in one command, but yiou could use SSI: <!--#include file="FILENAME HERE"-->
 
Code:
open (FILE,"filename") or die "couldn't open file :(";
while (<FILE>){print;}
should do what you want
 
Back
Top