Link to home
Start Free TrialLog in
Avatar of csi
csi

asked on

Should be easy: Including text

I'm using a perl CGI script to create an HTML page based on certain conditions.

I would like to include text from other files (sort of like a server side include), but I can't seem to do this within the cgi script.

What I'd like to do is almost like a "Location:" redirection, but instead it would just include the text in the specified file rather than redirect the browser to the new url. Then I could also include text from one or two other files, depending on the circumstances.
ASKER CERTIFIED SOLUTION
Avatar of b2pi
b2pi
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of csi
csi

ASKER

Jeez! I thought this was going to be easy. I'll have to try this out.
Avatar of csi

ASKER

Perfect! Thanks.