September 22nd, 2000, 09:06 AM
ok, well i don't know if this is possible... but here goes...
i know php3 to an adequate level, enough to code myself a security script using md5 encryption and cookies. the reason for writing my own and not using .htaccess was for automation of signing up users.
however the problem lies in the fact that a cgi-script has to be made secure now that wouldn't be too much trouble if i were a php document, i would include the following code at the top of the document [before any HTML tags were called]:
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
<?php include(headers.php3); ?>
thing is i need to know how to do a similar thing in Perl - to ask the server to parse the php3 before the rest of the HTML...
can any1 help?
February 3rd, 2001, 09:53 PM
I'm stuck in a similar situation: I'm calling a php file from a cgi script and the php file (obviously) is not parsing before the cgi prints the file.
Did anyone provide you with a work-around to this problem?