Hey everyone,
 
Doesn anyone know how to escape the following line in a perl print statement?
 
if(!isset($mainfile)) { include("mainfile.php"); }
 
ie:
 
sub header
{
        print "<?php echo if(!isset($mainfile)) { include(\"mainfile.php\"); } ?>\n";
}
 
What all needs to be escaped?
 
 
Thanks!
Clayton Dukes
CCNA, CCDA, CCDP, CCNP
Internetwork Solutions Engineer
Internetwork Management Engineer
---------------------------------------------------------------------
Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to