2006-11-15, 06:26 PM
I know, I've read all the post on the subject, but I need help formating the code ...
I need to insert php code because I found a PNG-24 Alpha transparency script in PHP.
http://koivi.com/ie-png-transparency/
I need this code inserted at the beginning of each page :
And this one at the end of every page :
Plus I need to point to a php file named replacePngTags.php that I put in the "jscripts" folder.
So where do I put the PHP (in global.php ?) ?
How do I code it to make it in 2 variables ?
In which template do I put them (header & footer ?) ?
And what will be the path of my php file (jscripts/replacePngTags.php) ?
Thanks in advance !
I need to insert php code because I found a PNG-24 Alpha transparency script in PHP.
http://koivi.com/ie-png-transparency/
I need this code inserted at the beginning of each page :
<?php ob_start(); ?>
And this one at the end of every page :
<?php
include_once 'replacePngTags.php';
echo replacePngTags(ob_get_clean());
?>
Plus I need to point to a php file named replacePngTags.php that I put in the "jscripts" folder.
So where do I put the PHP (in global.php ?) ?
How do I code it to make it in 2 variables ?
In which template do I put them (header & footer ?) ?
And what will be the path of my php file (jscripts/replacePngTags.php) ?
Thanks in advance !