I am converting several scripts from Perl to PHP. One of the things my boss wants me to do is to use the existing header and footers that have already been written in Perl. These subroutines are in a seperate folder outside the cgi-bin or htdocs folder, in there own folder.
I know how to get my PHP script to find the subroutines file, but am not sure that my PHP scripts will know what to do with them when they get to there.
Am I worrying for nothing or are there some special things I need to do to get them to work together. I'm still in the planning and layout stage, so haven't tried anything yet.
I could just rewrite the subroutine scripts, but then I'd have to change them in 2 places any time there is a change to headers or footers. My boss wants to save the rewriting of subroutines task until all the Perl scripts are converted.