regarding processing - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

regarding processing

Hello,



I have a cgi script that pulls together small .html components and loads

them together to create a full html page.



My problem is, that with this, it does not process the SSI calls.



i was told that in the perl prog where it opens the text file I could make

a while statement that finds
a subroutine that processes it..



below is the part of the script which opens the config file and reads which

compontents it has to use, then opens them.



Could someone assist me by telling me what I should add in and where,

and also assist me by creating the subroutine?



Many Thanks in advance.

Hass

ICQ: 2328944



By the way, this script is a customise your login page script, allowing users

to choose what they want on their front page, if anyone wants it.. contact

me





unless (open (INVOER, "$path/configurable.cfg")) {

print "unable to open $path/configurable.cfg";

exit;

}

@instelbaar = ;

close INVOER;

foreach $regel (@instelbaar) {

if ($regel !~ /^#/) {

if ($regel =~ /^cat/i) {

($catnummer, $catwaarde, $catomschrijving) = split (/ --> /, $regel);

$opensnip = "$path/$catwaarde";

open (INVOER1, $opensnip);

while (<>) {

if (//) {

subIncludeFile($1); } else {print "$_
";

}

@snip = ;

close INVOER1;

foreach $regel1 (@snip) {

afdrukken();

}

}

}

}


Sign In or Register to comment.